In the Salesforce Field Service (SFS) Dispatcher Console, the Gantt map does not load. The following error appears in the browser console:
"Refused to frame 'https://[orgdomain]--stage--fsl.sandbox.vf.force.com/' because an ancestor violates the following Content Security Policy directive: frame-ancestors 'self'."
This error occurs even after adding sites to the Content Security Policy (CSP) Trusted Sites list.
The Gantt map fails to load because Salesforce is blocking the VisualForce component from rendering inside an iframe. This happens when the org's domain URL is not listed as a Trusted Domain and clickjack protection is active in Session Settings. Follow these steps to resolve the issue:
https://[yourorg].lightning.force.com).After saving, refresh the Dispatcher Console. The Gantt map loads correctly.
Note: If clickjack protection is enabled on your org (Setup > Session Settings > Clickjack Protection), the Trusted Domain entry above is required. Without it, all VisualForce-based components — including the Gantt map in the Salesforce Field Service Dispatcher Console — are blocked from rendering.
000395965

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.