Skip to main content Rejoignez-nous lors de l'événement TDX à San Francisco ou sur Salesforce+ les 5 et 6 mars pour la conférence des développeurs à l'ère des agents IA. Inscrivez-vous dès maintenant.
Mayank Sharma a posé une question dans #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 réponses
  1. 15 févr. 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 févr. 2017, 07:03
    Thanks Nagendra, I have already reviewed it.
  3. 15 févr. 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 févr. 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