function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

SimpleDialog does not work when the VF page that calls it is in an iFrame?

Hi everyone,

I have a VF page that calls a SimpleDialog that requests for payment after a purchase has been made.
When I test the page on it's own, I get the SimpleDialog message.

However, the VF page that calls the SimpleDialog is to be accessed by the customer through an iFRAME. I found that when the VF page is called through an iFRAME, the SimpleDialog pop up does not show up at all.

Is there a reason why SimpleDialog will not work if the VF page calling it is in an iFRAME?