Loading

The map isn’t loading on the Gantt for Dispatcher console

Publiseringsdato: Apr 23, 2024
Beskrivelse
In the console, we can see "Refused to frame 'https://XXXXXXXXXXXXX--stage--fsl.sandbox.vf.force.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self'"." error.
We tried to add several sites to CSP, but it didn't help.
error
Løsning
The error is related to the VisualForce component refusing to connect. Some Mission Control features may present the following 'refused to connect' error if you have not added your domain URL as a Trusted Domain AND if you have clickjack protection enabled on the Session Settings screen of Salesforce Setup.
Check the below steps, 
1) Goto Setup, navigate to Session Settings.
2) In the Trusted Domains section, click Add Domain.
3) Enter the domain in the browser URL bar where you’re logged into Salesforce and using Lightning Experience (See image 'URL must be added)
4) Select Visualforce Pages for iFrame Type.
5) Click Save.

domain
Knowledge-artikkelnummer

000395965

 
Laster
Salesforce Help | Article