In the developer console of a browser, you see the following errors with references to iFrames and observe the behavior of a Visualforce page or upload not functioning correctly in a community.
Load denied by X-Frame-Options: <URL> does not permit framing.
Refused to display <URL> in a frame because it set 'X-Frame-Options' to 'deny'.
Communities have their own Clickjack protection settings that must be adjusted to allow the use of iFrames in the Visualforce pages.
To check the Clickjack settings in the community follow these steps:
In Salesforce Classic
In Lightning Experience
Salesforce Communities have two Clickjack protection parts. One is for the Lightning Platform Communities site, which is set from the Lightning Platform site detail page. The other is for the Site.com communities site, which is set from the Site.com configuration page. It’s recommended to set both to the same value.
For community sites, if you set Clickjack protection to the level for the most protection, certain pages appear as blank pages. To avoid this problem, use the recommended setting.
See also:
Review Enable Clickjack Protection Communities
Enable Clickjack Protection in Site.com
000383788

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.