Preview mode not working on Salesforce
  • 11 Oct 2022
  • 1 Minute To Read
  • Dark
  • PDF

Preview mode not working on Salesforce

  • Dark
  • PDF


When you create Whatfix content on Salesforce, and then try to preview the content, you can't see any content being displayed. You notice that other content that was published is appearing (in production). But nothing seems to display in preview mode.


Sites like Salesforce have a Content Security Policy (CSP) in place to prevent external code insertions. This prevents the Preview mode on Whatfix from working on Salesforce.

This issue is only for the preview mode. Once the content is pushed to production, there is no issue with seeing the content.


To work around this, you can use a browser extension to disable the CSP policy when previewing content.


Use CSP extension only when using Preview Mode on Salesforce and disable the extension once testing is done.

Use the following steps to disable the CSP on Salesforce,

  1. Install any one of the following extensions in your Chrome browser.


This method is also supported on the Edge Browser extension. You can install the extension that works best on your browser and follow the steps below.

  1. Before enabling the Preview Mode, click the CSP extension to enable it.

  2. Activate the Whatfix Preview Mode and the content displays in the preview mode.

  3. Once testing is done, disable the extension by clicking it again.


If the issue persists, contact [email protected].

Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.