Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Salesforce by (13.1k points)

I want to build a simple component for a web page inside a Lightning component. Below is my code.

<aura:component implements="force:appHostable">

    <iframe width="100%" height="350px" style="border: 1px solid" src="https://trailhead.salesforce.com/en/content/learn/trails/wave_analytics_apps" />

</aura:component>

I want to embedded into a lightning component using iframe. But it is throwing an error. Is there any possibility to do it?

1 Answer

0 votes
by (26.7k points)

For this to be resolved you can try by temporary disabled flags of chorme browser. To do that, these are the steps:

1. go to chorme://flags/

2. Disabled these flags:

 SameSite by default cookies = disabled

 Enable removing SameSite=None cookies = disabled

 Cookies without SameSite must be secure = disabled

3. After that click on relaunch.

I hope this will work.

Want to become a salesforce expert? join Salesforce certification now!!

Browse Categories

...