(Box for Salesforce)The embedded screen does not appear

SOLVED
Go to solution
First-time Contributor

(Box for Salesforce)The embedded screen does not appear

Hi,

 

In Salesforce, "Enable clickjack protection for customer Visualforce pages with headers disabled" is enabled.

Clickjack Protection for Visualforce Pages

Because of that, the Box embedded screen is not displayed.

 

Please let me know how to use Box for Salesforce while enabling click jacking setting.

 

 

1 REPLY
Highlighted
Box Employee

Re: (Box for Salesforce)The embedded screen does not appear

Hey @Nao_korisu

 

Thanks for submitting your question to the Box Community!

 

Unfortunately, "Enable clickjack protection for customer Visualforce pages with headers disabled" needs to be unchecked to work with Box for Salesforce. 

 

The reason this is happening is that the visualforce page BoxSection is being rendered in an iframe on the page. When that security setting is enabled, the http headers include X-Frame-Options="sameorigin". Since the parent page's origin is not the same as the iframe's page origin, there is a mismatch and the iframe is not shown.

 

I hope this information helps. Thanks for using the Box Community, and have a great day!