Skip to main content

Hi all, I need help with a Visualforce page: It is a standard VF page with an iframe (code below) that sits on the order page, but everytime I open an order I get the error "example.com refused to connect". I have tried the following:

  1. Adding it as a CSP Trusted Site
  2. Adding it as a remote site
  3. Unchecked - 'Enable clickjack protection for customer Visualforce pages with standard headers'
  4. Checked for errors in console but it runs successfully

<apex:page standardController="Order" showHeader="false">

<apex:iframe src="https://example.com/dashboard/order-status?ORDER_ID={!Order.Order_Id__c}" width="100%" scrolling="true" id="theOrderIframe"/>

</apex:page>

Anybody have any solution to this

2 answers
  1. Apr 17, 2024, 2:52 PM

    @Mitali Gore Did you ever find a solution to this? I am experiencing the same issue and have also followed all of the steps you listed above.

     

    Thank you!!!

     

    Meg

0/9000