0

My VisualForce Page Test Code for displaying dashboard -

Code Snippet - Used (Apex:Iframe)

enter image description here

After Clicking on Preview Button In Apex Page-

enter image description here

Error In Console Error

1 Answer 1

0

It seems you are trying to embed a Salesforce public site into Visualforce page. To allow the embed you need to perform some setup:

  • Go to: Setup > Develop > Sites. Click on Edit
  • Set the value "Clickjack Protection Level" to "Allow framing by any page"

In case you are trying to do the reverse, you may want to look for "Clickjack Settings"

1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .