You are here:
Why Can’t I Open the Document Template Designer After Completing the Omnistudio Document Generation Post Installation Steps?
You see an error message when you try to open the Document Template Designer because the Clickjack Protection settings are active for your org. Add your blocked domain URLs to the trusted domains list to open the Document Template Designer.
These clickjack protection settings are active:
Enable clickjack protection for customer Visualforce pages with standard headers
Enable clickjack protection for customer Visualforce pages with headers disabled
Here's an example of the error: Refused to frame 'https://[MyDomain].vf.force.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self'https://[MyDomain].lightning.force.com".
- From Setup, in the Quick Find box, enter session, and then select Session Settings.
- Scroll to Trusted Domains and click Add Domain.
- Do the following:
- Enter your org’s visualforce.com URL. For example, https://[MyDomain].vf.force.com/.
- Select iFrame Type as Visualforce Pages.
- Save your changes.
- Enter your org's lightning.force.com URL.For example, https://[MyDomain].lightning.force.com.
- Select iFrame Type as Visualforce Pages.
- Save your changes.The Session Settings page opens.
- Enter your org’s visualforce.com URL.
- Save your changes.

