Skip to main content

Questions tagged [iframe]

A component that creates an inline frame within a Visualforce page. A frame allows you to keep some information visible while other information is scrolled or replaced.

Filter by
Sorted by
Tagged with
0 votes
1 answer
267 views

I want to show standard report on LWC component. Is there any way to achieve this using report id?

I would like to show Salesforce Standard Reports on LWC Component. Is there any way I can achieve it by passing Report ID or any other workaround?
Kapil Saini's user avatar
0 votes
0 answers
62 views

Integrate with a 3rd party website

We currently have a 2GP Managed Package that contains an LWC component that is basically a UI in Salesforce for our API, and that we want to distribute across external orgs. We use Apex Callouts + ...
Alberto's user avatar
  • 81
-1 votes
1 answer
190 views

Can we setup salesforce sso or Idp login within Iframe to login to a external site

I have an Iframe in salesforce which loads an external site that supports salesforce sso, currently I'm redirecting the user to the external site auth0 login page and once they login I redirect them ...
R_M_R's user avatar
  • 1
0 votes
0 answers
146 views

display pdf in Iframe in lwc

Getting below error while displaying a pdf in iframe in lwc top.location='https://utalmesivtakj--developer2.sandbox.my.salesforce.com/ex/errorduringprocessing.jsp' My HTML : <iframe id="...
Sahil Gupta's user avatar
1 vote
0 answers
81 views

Can Managed package pass security review when window.postMessage() is used in LWC?

We are working on a managed package that will load a third-party web app inside iFrame in a Lightning web component. To make the thrid party app context-aware we need to send some information from ...
Rahul Gawale's user avatar
  • 12.2k
0 votes
0 answers
59 views

Is it possible and how to login to a SF Org that was opened in an iFrame?

Our web application needs to open a Salesforce Org application in an iFrame. Any ideas if that is possible and what would you recommend to read in order to achieve that? I know that Lightning out(LO) ...
Искрен Станиславов's user avatar
0 votes
1 answer
84 views

Community site having Navigation tab which has external site embedded but external site not redirecting to home page, how to fix this issue

We are using Canvas app(Manage) for External site called (Seismic) and added that in our community site. In the Navigation bar we have Tab called Seismic, once we click on it will shows iframe and all ...
A K's user avatar
  • 11
0 votes
0 answers
295 views

Is it possible to embed a page from an Aura Experience Cloud Site in an iframe on an external domain?

I am trying to embed an Aura Experience Cloud Site page in an iframe on an external domain. With reference to this documentation - https://help.salesforce.com/s/articleView?id=sf....
Luke Harrison's user avatar
2 votes
2 answers
250 views

Insecure Storage of Sensitive Data Vulnerability for a security review

We have received this issue in our security review "Insecure Storage of Sensitive Data Vulnerability ". I am making a call to external service to get a encrypted claim that i am using to ...
Manjot Singh's user avatar
  • 3,526
0 votes
1 answer
2k views

Cannot Load Record Page Using iFrame In LWC

I've tried many ways to load a record page using iFrame but it just return a white empty screen. When I tried to load it with example from Techdicer , it worked. Then I just replaced the url in src ...
Pam's user avatar
  • 107
1 vote
0 answers
522 views

Can't get iFrame body or scroll height in LWC

I am attempting to use the code below to get the height of content within an iFrame so I can resize the iFrame height to fit its content. However, when I run it I get Uncaught TypeError: Cannot read ...
Jake Bullard's user avatar
1 vote
0 answers
167 views

CORS violation by Aura component

friends. I have some simple aura components that renders a credit card payment form in an iframe. This component works perfectly fine in production but browser fails with same-origin policy error in ...
Vladimir Egikyan's user avatar
1 vote
0 answers
234 views

iFrame event listener not working in LWC for vimeo

I appreciate you looking, For my project I need to get the pause event of vimeo iframe video. for this I have uploaded the vimeo api script to the static resouce and imported to the lwc page and did ...
Sanker Das's user avatar
1 vote
1 answer
669 views

2023 - Lightning Web Components and Angular

We have a 2GP that has a Lightning Component (Aura/Canvas) that displays our content inside of iframes. Our platform makes heavy use of Angular 15 and many Angular components like Angular Materials, ...
nstuyvesant's user avatar
1 vote
1 answer
1k views

How to pass data from javascript controller to iframe in LWC

I am trying to pass a pdf as a preview to an Iframe in LWC. Note: a preview, not showing an existing pdf I followed following example: How to render a PDF generated with jsPDF in a LWC How do I pass ...
Thomas's user avatar
  • 2,310
0 votes
0 answers
173 views

Is there a way to uniquely identify an instance of an LWC?

I have an LWC that invokes an iframe with a query parameter. The query parameter is an external unique id outside of Salesforce. I am attempting to associate the external unique id with an instance ...
tom eustace's user avatar
0 votes
1 answer
351 views

Can't access video (getUserMedia) from a Visualforce Page (opened from LWC)

I have a LWC which opens Visualforce Page in modal window. And in that Visualforce Page I want to get access to a camera. For it I use navigator.mediaDevices.getUserMedia({video: true}) (link) ...
Vitalii Dehnerys's user avatar
2 votes
0 answers
360 views

iFrame content inside Modal, goes to quirks mode on mobile only, therefore it does not display

some help on this would be really appreciated please! I have a lightning component in which a modal is shown on a button click. Inside an iFrame I display a SF Attachment file (CommSiteURL + /servlet/...
DeoMc's user avatar
  • 31
1 vote
3 answers
2k views

Embed Community website in a Salesforce Lightning page via iframe

I generated a community page from Salesforce Survey tools, I then have this kind of community URL : https://dev-example.cs162.force.com/something. Now I want to display that URL within a Lightning ...
kabrice's user avatar
  • 129
0 votes
1 answer
270 views

Displaying a Tableau Public URL in Salesforce

I'd like to display a Tableau Public URL in Salesforce. The URL itself works fine, but when I try to display it as a "Web Tab" or Visualforce page I get: "public.tableau.com refused to ...
user78286's user avatar
1 vote
1 answer
313 views

Lightning web component causing refresh loop

I'm building a simple LWC with an iframe to an external messaging app. When I deploy my code as is, it causes Salesforce to refresh over and over. Not sure where I'm going wrong here. I've isolated my ...
kai998's user avatar
  • 69
0 votes
0 answers
202 views

apex:iframe doesn't allow display-capture

Can you tell me please how to enable display-capture in Visualforce page? HTML <apex:outputPanel layout="block"> <apex:iframe src="" html-allow="camera; ...
Tsimaphei's user avatar
1 vote
0 answers
546 views

iFramed CloudPages and triggered emails

We are creating a public CloudPage with a (custom) lead capturing form. After the form is submitted, a triggered email (i.e. double opt-in) is sent to the new / potential customer. We would like to ...
nix9247's user avatar
  • 538
0 votes
0 answers
4k views

Navigate to external url from LWC (iframe)

Pretty new to LWC I have a site that I wrote with LWC: VF page -> Aura -> LWC. This site is a form that is used on an external web page. I'm trying after submitting the form, to navigate the ...
Salvation's user avatar
  • 1,189
1 vote
1 answer
28k views

Refused to load script because it violates Content Security Policy directive

I'm currently working to include my external js in aura component. So, i have included my external JS as static resource. but i'm getting the below exception. Refused to load the script '...' because ...
Pavan tej's user avatar
  • 1,458
1 vote
0 answers
1k views

iFrame to Parent LWC postMessage in Community

I have looked through the various posts about this subject, and yet can't get this simple POC to work. Scenario: Simple Community with LWC. An LWC has an VF page rendered in it as an iFrame. I just ...
BritishBoyinDC's user avatar
0 votes
0 answers
686 views

Lightning Web Security and postMessage

We are using postMessage to communicate a LWC with an iframe embedded in it. The content of this iframe is in the same origin. It's a static page loaded from a static resource. When we activate ...
mimetist's user avatar
0 votes
1 answer
27 views

Cannot save the code to a Lightning Component - Keep getting "The Markup in the document following the root element" ERROR . What am I doing wrong?

<aura:component implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId" access="global" > <aura:attribute ...
psmarka's user avatar
1 vote
1 answer
1k views

Blank Visualforce Iframe in a LWC in Mobile App

We're trying to render a Screen Flow programatically from a LWC. This is done by creating an aura app (with lighting:flow) in an a Visualforce page. This Visualforce page is then loaded in an iframe ...
Carl-Johan's user avatar
0 votes
1 answer
3k views

Download is disallowed. The frame initiating or instantiating the download is sandboxed, but the flag ‘allow-downloads’ is not set. In LWC

Download is disallowed. The frame initiating or instantiating the download is sandboxed, but the flag ‘allow-downloads’ is not set. See https://www.chromestatus.com/feature/5706745674465280 for more ...
rammohan reddy kasu's user avatar
1 vote
1 answer
1k views

Seamless experience between website and Salesforce community site - one login? [closed]

We have a requirement to allow a seamless experience from our main company website to our Salesforce community site. Basically, someone can login to our company website and be able to click a link ...
Ryan Werner's user avatar
1 vote
1 answer
4k views

How to use VF page as iFrame on a page outside of salesforce

I should use VF page as iFrame on a page outside of salesforce (web-to-case) like: <iframe src="https://name.cs110.force.com/vfPageName"/> But my page doesn't display. What else ...
Denis Titarenko's user avatar
0 votes
1 answer
813 views

iFrame issue in Visualforce Page: Uncaught DOM Exception - blocked a frame from accessing a cross-origin frame

I'm having an issue with a VisualForce page I'm putting a Lightning Component on. The component simply consists of an iFrame. When I try to use the site I want to use as the src for the iFrame, it ...
Kataris's user avatar
0 votes
1 answer
977 views

Send event to iframe of different origin from visualforce in lightning

I have a visualforce page where I am displaying an application inside Iframe. To load that application I need to pass a token from visualforce page to it. While sending the same, I am getting error: ...
Aniruddha's user avatar
0 votes
1 answer
395 views

Possible security concern for embedding Qlik dashboard as an Iframe on a VF Page [closed]

I'm working on a use case to embed a Qlik dashboard on Salesforce . I understand that to achieve this one would have to setup SF as Identity Provider , configure connected app and SAML settings on ...
Sagnik's user avatar
  • 615
0 votes
0 answers
1k views

Iframe not work with chrome

I have a mistake with iframe. This is it The URL is built in Apex controller and return the URL Login into the external website. My problem is that the login not works now but few weeks ago it ...
garciam202's user avatar
0 votes
0 answers
558 views

Uncaught Error in $A.getCallback() [Cannot read property 'window' of undefined]

I am running into a very strange error. I have an aura component that loads a visualforce page via iframe. The iframe uses a post message to communicate with the aura component. I have an event ...
Sneha's user avatar
  • 121
3 votes
1 answer
7k views

Need help with LWC and iframe

I appreciate you looking. Here's the problem I'm having: I have a project that includes pdfjs as a static resource. Part of this resource is an html file, viewer.html, that is the actual pdf viewer....
bcarroll2k3's user avatar
0 votes
1 answer
3k views

Iframe Id null in iframe onload method

I am loading iframe dynamically on button click of the window, the iframe uses pdfJs library. However, in onload method of the iframe, I am geting iframe object as null, and getting error. This is my ...
mvk1991's user avatar
  • 555
0 votes
1 answer
773 views

Is it possible to set up JavaScript to capture when a button is clicked that's from an external site iframe?

Have an iframe on a Visualforce page that's src is from an external site. The iframe has a button that's used to send a recording off via email from that external site. I'm trying to see if it's ...
Tim Hunter's user avatar
0 votes
0 answers
1k views

Unable to access our own cookies within salesforce Iframe

I have an external webphone application within salesforce lightning which is loaded via Call Center. Users need to login through credentials. It was working before and any issues. Now, in the backend ...
Nullptr023's user avatar
0 votes
1 answer
1k views

External page in iframe

I need to display the external page in VF page iframe But I'm getting www.salesforce.com refused to connect. I added salesforce in CORS and csp sites Below is my code: <apex:page showHeader="...
sfdc's user avatar
  • 321
0 votes
1 answer
3k views

NavigationMixin.GenerateUrl is returning undefined

I am trying to generate url to open visualforce page embedded in a LWC using iFrame but I am getting undefined while using Navigationmixin.GenerateUrl to get the url. Can anyone suggest the correct ...
SunnyG's user avatar
  • 421
1 vote
0 answers
1k views

iFrame contentWindow LWC

I have a LWC with an iframe inside. The iframe's src is a URL from an external system that loads a Document Editor. I want to access the contentWindow of the iFrame. var editor= this.template....
user123's user avatar
  • 11
0 votes
1 answer
1k views

Website on the right side of Login Page is not working

I wanted to put in my Companys website on the right side of the SF Login Page instead of the advertisement. When I put In the Link of my company it doesn't work, but when I tried it with "sown.io&...
peXeq's user avatar
  • 471
2 votes
2 answers
2k views

Embed Secure External App Within IFRAME of AppExchange App

We have an AppExchange App which integrates with external application (website) via Salesforce REST API. App has already passed Security Review as it is composite app Salesforce and External ...
Ateet's user avatar
  • 129
0 votes
0 answers
73 views

How can we use a single redirect URL in multiple Salesforce orgs?

I have a lightning component with an iframe inside it and it sets the url for the visualforce pages controller. Everytime i deploy to a new org i have to go into the lightning component and change the ...
ThatGuy's user avatar
  • 85
1 vote
1 answer
1k views

iframe/embed salesforce into another site

Is this possible to do anymore? I'm trying to iframe Salesforce, in it's entirety for SSO functionality without having the user leave my web application. My application is a connected app and we would ...
Jegsar's user avatar
  • 113
0 votes
2 answers
362 views

Apex iframe condtion

I have a Visual force page which has no dependency of apex class. I had a formula field called user object label as Business and Api name as Business__c.I need to add condition based on log in user If ...
user avatar
4 votes
1 answer
3k views

Embed HTML in LWC using iframe

We are developing an AppExchange app in which have an HTML file under static resources. Inside the LWC component, we need to display the content of this HTML file. We are currently using the tag and ...
Ateet's user avatar
  • 129

1
2 3 4 5