If you want to enable Clickjack protection for your Salesforce org, you will need to allowlist various URLs to make sure your grids remain visible.
To enable Clickjack and allowlist domains:
- Go to Setup > Session Settings. You will see the four Clickjack Protection checkboxes.
- Select your Clickjack Protection
- If you select three or four options, your grids will become unavailable.
- Click Add Domain to allowlist the necessary domains to make your grids visible again.
-
- The Domain URL must end with the .com (no forward slash is allowed)
- Iframe Type must be Visualforce Pages
- You will need to allowlist your main domain (https://test.lightning.force.com), all Visualforce urls (https://csm2019--gblite.visualforce.com), all custom urls (https://csm2019.my.salesforce.com), etc.
- Each time you add a domain, click Save and Refresh your grid page. If the grid still does not appear, you need to allowlist additional fields.
- One way to find what URLs to allowlist is to right-click on a page where the grids are not appearing and select Inspect.
- Click Console at the top of the Inspect panel, and scan the console to see any URLs you have not yet allowlisted.
If you are not able to get your grids to appear, send an email to Support@validity.com with the details of your situation.