• #24181
    Salesforce | Satyakam Satyakam #444

    How to embed iframe in Salesforce Visualforce page?

    How to embed iframe in Visualforce page. I want to display the external website on one of the Salesforce object detail pages via visualforce page. But iframe is not working after release 15, so how can use it. Any help, please.


    Salesforce | Charan Tej Charan Tej #247

    I am able to diplay external website through Visualforce page.

    I think issue is only with few websites where X-frame options are set to Deny.


    Salesforce | Satyakam Satyakam #444

    Hi Charan,

    Is there any other option to show all websites within our visualforce page.



    Please use https instead of HTTP in your code.

    Find the sample code below.
    <apex:page showHeader=”false”>
    <apex:pageBlock >
    <apex:iframe src=”https://www.salesforce.com” scrolling=”true” id=”theIframe”/>
    Hope this helps.

Viewing 4 posts - 1 through 4 (of 4 total)

Please to reply to this topic.


We're not around right now. But you can send us an email and we'll get back to you, asap.


About Us

Forcetalks is a Salesforce collaboration platform for coders & developers, geeks & nerds, consultants & business heads, admins & architects, managers & marketers and of course the business owners. A community where you can learn from, where you can contribute to. For you. For Salesforce. Read More...

Copyright 2019 Forcetalks. All Right Reserved.

Log in with your credentials


Forgot your details?