When enabling the security setting "Enable clickjack protection for customer Visualforce pages with headers disabled" — as recommended by the Salesforce Health Check — Field Service Visualforce pages may display a blank page or an error referencing Content Security Policy (CSP) settings blocking content.
CSP (Content Security Policy) is a browser security mechanism that restricts which external domains a web page is allowed to load content from. When clickjack protection is enabled for Visualforce pages with headers disabled (showHeader="false"), it can block Salesforce Lightning and Visualforce domain iframes used by Field Service Visualforce pages, unless those domains are explicitly added to the Trusted Domains list in Salesforce Session Settings.
Note: This setting protects against clickjack attacks on Visualforce pages that have headers disabled.
Field Service Visualforce pages use iframes that load content from the Salesforce Lightning domain (.lightning.force.com) and the Visualforce domain (.vf.force.com). When clickjack protection is enabled without these domains being trusted, the browser blocks the iframe content, resulting in a blank page or CSP error.
To resolve this issue, add two domains to the Trusted Domains section in Salesforce Session Settings:
After adding both domains, Field Service Visualforce pages load correctly without blank page or CSP errors, even with clickjack protection enabled. The screenshot below shows an example of a correctly configured Trusted Domains setup.
000394615

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.