You need to sign in to do that
Don't have an account?
Jamie Cohan
Is there an alternative in Lightning to using Iframes? <apex:iframe src="{!FrameLink}" />
Hi Team Lightning,
Is there an alternative to <iframes> in lightning? Our application has a menu items on the side bar and when the user clicks on the link, a resulting page is produced in an Iframe .
Is there an alternative to <iframes> in lightning? Our application has a menu items on the side bar and when the user clicks on the link, a resulting page is produced in an Iframe .
In the developer console in the chrome browser there is the following error:
na7.salesforce.com/a08A000001CZFnkIAH:1 Refused to display 'https://na7.lightning.force.com/one/one.app#/alohaRedirect/a08A000001CZFnkIAH' in a frame because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self'".
How do fix this iframe issue. It works in Salesforce classic but not Lightning.
or on Microsot Edge we get: