Skip to main content Unisciti a noi al TDX, a San Francisco o su Salesforce+, il 5-6 marzo per la conferenza degli sviluppatori sull'era degli Agenti IA. Registrati ora.
Mayank Sharma ha fatto una domanda in #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 risposte
  1. 15 feb 2017, 06: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, 07:03
    Thanks Nagendra, I have already reviewed it.
  3. 15 feb 2017, 06: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, 06: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