Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
11 views

How to make a oauth authentication from salesforce mobile app? Web Tabs are not showing Allow Access? Pop up (iFrame Issue)

I have done a Device Flow Oauth using a ESP8266. Now i want to have the salesforce mobile app to authenticate my IoT device into salesforce. When the IoT device generates a OTP(User_Code), I open ...
0
votes
0answers
17 views

'URL no longer Exist' issue when trying to open a link from inline visualforce page

I have an inline VF page like following in my application that have multiple links that is created using html anchor tags. <apex:page showHeader="false" sidebar="false" standardController="acc__c" ...
0
votes
0answers
15 views

Pass a URL Param to a Visualforce Page which gets embedded in an iFrame when navigating from Lightning Experience

I am navigating to a Visualforce Page within the Lightning Experience. The Visualforce Page gets embedded inside an iFrame and I am unable to access the URL parameters (they are on the window.top....
0
votes
0answers
11 views

Authenticate and expose external azure report on an iFrame in Communities

I am trying to figure the best way of doing this. We have a report that gets generated in Azure that has customer details. What needs to happen is, when a customer logs into SF Communities, we ...
3
votes
1answer
53 views

What are the differences between a Lightning Container and a Canvas App?

Both lightning:container and Canvas Apps (which themselves can be embedded into Lightning components using force:canvasApp) seem to be doing similar things. Both of them allow you to embed external ...
0
votes
1answer
59 views

Refused to display 'https://www.salesforce.com/de/' in a frame because it set 'X-Frame-Options' to 'sameorigin'

I created VF page (or also to see the VF page inside a lightning component). I added an apex iframe with src="https://www.salesforce.com/de/" (or any other source) from salesforce apex iframe guide....
0
votes
1answer
27 views

Displaying Media in Lightning Component

I'm trying to figure out the best solution for embedding/displaying various types of "media" in a custom Lightning Component. The media could be various file types but would typically be video or ...
0
votes
1answer
21 views

Calling Email template in Visual Force page using Iframe

I'm new to this sales force platform.I'm facing the problem to call the email template in visual force page using iframe. my code look like this. <apex:iframe id="previewFrame" title="HTML ...
0
votes
2answers
43 views

iFrame in Lighning Component errored out

I have a lightning component with iFrame. I a getting the 'sameorigin' issue. am I missing anything? Lightning Component: <aura:component implements="flexipage:availableForAllPageTypes, ...
5
votes
0answers
81 views

Safari support for iframing a visualforce page

Background: I have an API I wish to use from within my managed package which occasionally results in long running callouts. In order to ensure my users don't encounter errors with the limits to long ...
0
votes
1answer
35 views

How to embed external (live) charts to Visualforce page?

I tried doing the following in Visualforce Page: <apex:page> <div class="embed-container"><iframe src="https://fred.stlouisfed.org/graph/graph-landing.php?g=m8jU5" scrolling="no" ...
0
votes
1answer
145 views

How to add standard reports to Lighting component?

I tried iframes, Lightning Container, but no luck. ReportChart is not an option. Is there a way to include standard reports inside lighting component.
1
vote
1answer
156 views

Plugging React JS app into lightning community

I have created a react.js application where I have used SLDS for my styling and I have also installed Lightning container module to make direct API calls to APEX code in my org. I want to plug the ...
0
votes
2answers
155 views

How to play video from Salesforce file in lightning component

There are few videos in files (Lightning files) of my slesforce org. Is there a way i can play/preview them in an iframe inside a lightning component?
0
votes
0answers
29 views

Accessing parent HTML elements from child VF page within iframe

I have force.com site with a VF page that will be used as a web-to-lead form within an external web site. I wanted to access some elements from the parent DOM and that to be used within my VF page - ...
0
votes
1answer
99 views

getting blank screen while opening iFrame in salesforce VF page

I am facing an issue while opening a webpage in salesforce iFrame. I was able to do that till yesterday, but now I am getting below error. QuoteToEsign is the visualforce page where I am opening ...
0
votes
1answer
55 views

Embedded Visualforce into Lightning Component not displaying

I have an issue embedding a visualforce page into a lightning component then show the component into a community page available only for a profile. It can't load the resource so the iframe is blank. I ...
1
vote
1answer
62 views

Can we open a third party application in salesforce app inside an iframe?

I have a situation where I need to integrate a third party application which is not a salesforce application. If I do it, does this violates the security tests of Salesforce Application done by ...
0
votes
1answer
58 views

get value from iFrame to visualforce script to controller

I am showing different domain website on iFrame window in my visualforce page. There is a button on that website "SAVE" (let's say). Once cx clicks on save button, I should notify too. How do I get ...
0
votes
1answer
254 views

'X-Frame-Options' to 'sameorigin'

I have a Visualforce with embeded page from the Moodle site but in the Production I got this error in console log Refused to display 'https://learn.psa.org.au/enrol/index.php?id=2848' in a frame ...
0
votes
1answer
16 views

I'm making a checklist and I would like this data to be updated/inserted using an iframe or any alternative method Ask Question

So This here is my check list and above it is where my Iframe should display. From my understanding it is not being displayed because of "Clickjacking" protection. Is there any way I can display my ...
0
votes
1answer
95 views

How do I integrate my canvas app in lightning

I have a canvas app (iframe) working perfectly in SalesForce Classic. How do I integrate it into Lightning?
2
votes
1answer
158 views

Where can I get the URL for adding a VF page through iframe to a custom lightning component?

Where can I get the URL for adding a VF page through iframe to a custom lightning component? 1 I create a VF page. 2 I know that I can display it in lightning using the following approach <...
0
votes
1answer
173 views

using iFrame to show external website but it is Just Blank

I am facing an issue with a simple iFrame in visualForce page. I am getting Just a blank page even with '/home/home.jsp' which is salesforce HOme page. Whatever you give to src="https://someaddress....
0
votes
1answer
24 views

Canvas installation in another SalesForce works but can't find button in Chatter

I have created a Canvas app and it runs perfectly on SF developer account 1. In SF developer account 1 it appears on the Chatter tab as a button in the left menu (classic mode). I create a package and ...
0
votes
0answers
82 views

Open slds modal dialog from iframe - Visualforce page embedded on Standard Layout

I wonder if it is possible to open modal dialog on fullscreen from visualforce embedded on Standard layout? I already tried to resolve that with JQuery but I get only SecurityError: Permission denied ...
0
votes
1answer
191 views

Pass a URL Field into the src of an iFrame in a visual force page?

Here is a basic code of what I am trying to do: <apex:page> <apex:pageBlock > <apex:iframe src="CannotFigureOut" scrolling="true" id="theIframe"/> </apex:...
0
votes
1answer
50 views

Iframe in manage pacakge

I want to create an appexchange app. In that app, external site page(other system's page) will be shown under salesforce tab. To show external site page in visualforce page/lightning component, i will ...
0
votes
1answer
229 views

Smart capture Submit button is not redirecting to URL

I created a smart capture form in Marketing Cloud and set the submit button to redirect to a Confirmation page. Next I inserted the form URL into an iframe on my wordpress page. When testing, the ...
1
vote
0answers
128 views

Print all iframes in Lightning Component

We display vf pages rendered as pdfs in a lightning component which generates these documents. We would like to implement a print all button that would print the contents of all the iframes. I have ...
0
votes
0answers
41 views

Cannot open record in Iframe sized : slds-size_1-of-2

RapidApprovalCMP3 {!v.linkOfRecord} = "https://snagarkar-dev-ed.lightning.force.com/lightning/r/Account/0017F00000tTTDJQA4/view" <aura:component implements="force:appHostable,flexipage:...
1
vote
1answer
278 views

iframe'd vf page fails in Lightning component in Community page

Question for you Lightning-and-Communities-savvy developer-ish folks here. I'm trying to get a legacy VF page wrapped within a Lightning component via an iframe in a community page, and failing: when ...
1
vote
0answers
49 views

How to capture change in iframe source content?

I am able to show my base64 pdf form data with iframe on Vf page in an editable form so that my user can edit in form and after that, I can store in attachment but I can't able to capture the change ...
0
votes
1answer
149 views

Iframe in VFP does not work

I need to display Iframe in my lightning component. This is one of my components: <aura:component controller="LeadCollectorController" > <aura:attribute name="theLead" type="Lead" ...
0
votes
0answers
196 views

Pass dynamic parameters to SAML response in a connected app

I have a connected app that uses SSO (and thus it points to a SAML certificate). I include a canvas app in a Lightning component via force:canvasApp tag like the following: <force:canvasApp ...
0
votes
1answer
302 views

Get Lightning domain name from Visualforce page and vice-versa

I am using visualforce page inside a lightning component as an iframe. For communication, i use parent.postmessage(message, origin);. Problem is, that at the moment i have hardcoded URL's, but when i ...
2
votes
1answer
106 views

Show error message if blank, if populated then show iFrame

Okay so I'm just going to preface this with the fact that I'm very new to the whole Apex thing, and I really appreciate your help! Here's the scenario: I've managed to make a snazzy Visualforce page ...
0
votes
1answer
338 views

Appending an iframe to a lightning component

I'm trying to append an iframe to a nested div, but for some reason, the append doesn't work when it's an iframe. var cmpStyle = "width: " + theWidth + "; height: " + theHeight; $("#createInMe")....
0
votes
0answers
32 views

Error when saving a Lightning component with iframe [duplicate]

When attempting to save this Lightning component: <aura:component implements="force:appHostable,flexipage:availableForAllPageTypes,force:hasRecordId" access="GLOBAL"> <iframe src="[... ...
0
votes
1answer
320 views

Lightning component iframe src attribute not taking the correct value

I am trying to add a url to iframe and is getting the following error <aura:component implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:...
0
votes
1answer
58 views

Create new SF opportunity from within an iFrame

I currently have an iFrame which is loaded into SF using syntax similar to below. <apex:component> <apex:iframe src="SomeURL" scrolling="true" height="600" width="1000"/> </apex:...
1
vote
0answers
315 views

Iframe with Windows Authentication in Internet Explorer

Having some real problems getting a Visualforce page to work with Internet Explorer 11. I have the following Visualforce Page: <apex:page controller="MyController"> <iframe frameborder=...
0
votes
1answer
2k views

iFrame an external site into Salesforce communities

I am trying to iFrame a site external to Salesforce into a Communities page and I'm receiving the expected error of "Refused to display '[URL link]' in a frame because it set 'X-Frame-Options' to '...
-2
votes
1answer
92 views

External website doesn't login ondemand through iframes?

public class CreateEvent{ public Test__c login; public CreateEvent(ApexPages.StandardSetController controller){ this.login= (Test__c)controller.getRecord(); ...
2
votes
1answer
721 views

Access contentWindow from dynamically created iFrame

I dynamically create an iframe as this: $A.createComponent( 'aura:HTML', { tag: 'iframe', HTMLAttributes: { 'aura:id': 'iframe', id: 'iframe', style: ...
4
votes
3answers
571 views

Locker service vs cross-domain iframe

In Salesforce classic, Salesforce lets you embed a Visualforce page into their page layouts. This page is in a cross-domain iframe, and therefore completely isolated from the containing page layout. ...
2
votes
0answers
408 views

Frame Ancestors for Content Security Policy headers for Canvas App

I'm working on a canvas app. I need to prevent it from being iframed from unauthorized sources. The problem is I don't know what to set as the CSP frame-ancestors in the headers for my canvas app. It ...
2
votes
0answers
137 views

Sandbox Marketing Banner Blocked by Content Security Policy

I was logging in to the sandbox today and I noticed that instead of the usual marketing banner I got an error message saying: Blocked by Content Security Policy This page has a content ...
1
vote
0answers
39 views

How can we embed a Hosted payment page in a visualforce page?

I have a hosted payment page which needs to be used in Salesforce within a visualforce page. One way to do this is using iframe within Visualforce page but this does not work as it is not supported by ...
1
vote
2answers
526 views

Is there any alternative to <apex:iframe>?

I want to display the external website on one of the Salesforce object detail pages via visual force page. But iframe is not working after release 15, As this question has already asked but there is ...