Stack Exchange Network

Stack Exchange network consists of 174 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
12 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
25 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
40 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
27 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
59 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
80 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
0answers
33 views

Is there a way for Visualforce Page to listen to Lightning Event

i.e. if vf page is in an iframe inside the lightning component, can the visualforce page listen to this event using lightning out? --testApp.app-- <aura:application extends="ltng:outApp"> &...
0
votes
2answers
79 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
25 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
65 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
41 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
43 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
36 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
143 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
15 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
58 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?
1
vote
1answer
93 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
68 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
22 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
69 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
143 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
35 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
170 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
92 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
32 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
217 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
45 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
128 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
154 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
222 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
93 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
317 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
27 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
293 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
53 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
273 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
0answers
286 views

Issues with IFrame on Chrome on the IPAD Pro (IOS 11.2.5)

Our current setup is as follows. We have VF Page that has an iFrame with a URL to load. The VF Page displays the iFrame and it's contents without any issues. However, when it comes to an IPAD PRO ...
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
79 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
618 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
537 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
357 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
112 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
35 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
502 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 ...
1
vote
1answer
67 views

Fetch JavaScript code of managed package button

I have a managed package object which has a button called Public Link which executes Javascript and displays a public URL in an iframe. Is it possible to see the javascript function code and save the ...
0
votes
0answers
221 views

Accessing salesforce.com page from visual.force.com page

Trying to load a page with the domain salesforce.com inside an iframe hosted on a visual.force.com page but I keep getting this 'Access-Control-Allow-Origin' error. I've tried adding both domains to ...
0
votes
1answer
100 views

Inserting an iframe in a Visual Flow

Has anyone ever experimented or successfully included an iframe inside of a visual flow? I understand there is some HTML you can experiment with in the TextArea resource but I have not had any luck ...
4
votes
1answer
2k views

Lightning container with external source

I would like to have an iframe in a Lightning component. I, first, tried to create a lightning:container as this: <aura:attribute name="url" type="String" ...
2
votes
1answer
215 views

No mic permission for CTI softphone after Chrome 63 deprecates cross origin iframe permissions

We have a phone system integrated with Salesforce using OpenCTI and I'm looking for a solution to this: https://sites.google.com/a/chromium.org/dev/Home/chromium-security/deprecating-permissions-in-...