+ Start a Discussion

Embed Iframe in Visualforce

Hi Guys,

I'm trying to embed an external website in Salesforce via visualforce page.

Problem is the external site sets X-Frame-Options header to explicitly stop embedding the site in iframe. Also, I cant disable the clickjack property in org.

Any alternative way I can get the external site to Salesforce?

Dinesh GopalakrishnanDinesh Gopalakrishnan
Hi Pappu,

Here's the workaround to iframes
If you're encountering this problem, instead of using a web tab, a custom link can deliver the URL with the behavior set to:
  • Display in new window.
  • ​Display in existing window without sidebar or header.

Kindly check the below Link you can find a Workaround to Iframes.


Kindly Mark this as a Best Answer if you Find this Useful!

DineshKumar Gopalakrishnan​

Shruti SShruti S
Sorry to say this is impossible. As long as the remote site blocks from loading itself in IFRAMEs, there is not much that we can do.

Sorry I wish I had a better answer for you.