Skip to main content Únase a nosotros en TDX, en San Francisco, o en Salesforce+ los días 5 y 6 de marzo en la conferencia para desarrolladores sobre la era de agentes de IA. Registrarse ahora.
Mayank Sharma ha preguntado en #Visualforce
I want to display external website on one of the salefoce object detail page via visual force page. But iframe is not working after release 15, so how can use it. Pleae let me know
4 respuestas
  1. 15 feb 2017, 6:30
    Hi Kamran,

    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"/>

    </apex:pageBlock>

    </apex:page>

    Hope this helps.

    Mark this as solved if it's resolved so that it gets removed from the unanswered queue which results in helping others who are encountering similar issue.

    Regards,

    Nagendra.

     
  2. 15 feb 2017, 7:03
    Thanks Nagendra, I have already reviewed it.
  3. 15 feb 2017, 6:56
    Hi Kamran,

    May I suggest you please check with below link from stack exchange community with suggested workaround for the above problem.

    http://salesforce.stackexchange.com/questions/121164/salesforce-summer-16-page-not-loading-in-iframe/121494

    https://developer.salesforce.com/forums/?id=906F0000000BMKaIAO

    Hope this helps and this is the possible workaround for the above issue.

    Mark this as solved if the information helps.

    Regards,

    Nagendra.
  4. 15 feb 2017, 6:49

    Hi Nagendra,

    I have already tried with this. Actually Apex:iFrame in visualforce page stopped working since Summer 15 release. So I want the alternet of it or any change in SF

0/9000