Does enabling clickjack protection for Visualforce pages in Session Settings have any impact on OFC?

 

The impact on OFC of enabling the following settings in "Clickjack Protection" in Setup > Session Settings is as follows.

 

Enable clickjack protection for customer Visualforce pages with standard headers

No impact.

 

Enable clickjack protection for customer Visualforce pages with headers disabled

The preview is not displayed in the ofcHtml component of Ver. 2. Follow the steps below to add the Lightning domain of your org to "Trusted Domains for Inline Frames".

 

Settings for "Trusted Domains for Inline Frames"

From Setup > Session Settings, click the "Add Domain" button in "Trusted Domains for Inline Frames". Enter the following values and click the "Save" button.

Domain Name: The Lightning domain of your org (the part of the URL shown in the browser's address bar, from "https://" to ".com"). e.g. https://mycompany.lightning.force.com

IFrame Type: Visualforce Pages

*This setting is not required for custom buttons and Lightning component buttons, because they display the preview in a new browser tab.

 

*Ver. 1 and the features of Ver. 2 other than the ofcHtml component (custom buttons, Lightning component buttons, flows, etc.) are not affected.

 

Instruction manual

HTML Preview