My SharinPix components are blank/not rendered. What should I do?
To address blank SharinPix components or components not rendered (as depicted below) on your Salesforce organization, you should add CSP Trusted Site entries for SharinPix.
![](https://media.screensteps.com/image_assets/assets/008/419/537/original/cc22e7d7-3bec-495b-ae42-82d2fad3f6e7.png)
Information:
The above error relates to a Salesforce release. Salesforce updated the delivered CSP directives for Lightning pages to help protect your org from cross-site scripting and other code injection attacks. For more information on this Salesforce update, please refer to this article: Adopt Updated Content Security Policy (CSP) Directives (Release Update)
Adding the CSP Trusted Site entries for SharinPix will ensure compliance with the Salesforce update and enable access to the SharinPix component.
To add a CSP Trusted Site for SharinPix, please proceed as follows:
Go to Setup. Enter CSP in the Quick Find Box.
Under Security, select CSP Trusted Sites.
Then, click on New Trusted Site as shown below:
You will be directed to the page below:
4. In the field, Trusted Site Name, enter SharinPix
5. In the field Trusted Site URL, enter https://app.sharinpix.com
6. Ensure that all checkboxes are checked.
7. Then, click on Save
8. Next, repeat steps 3 to 6 to create new trusted sites using the following SharinPix endpoint URL as the Trusted Site URL: https://p.sharinpix.com
Note:
- If the issue persists after adding and activating the Trusted Site entries, please clear the cache and recheck the component.
- The SharinPix CSP Trusted Site entries are already included in SharinPix package versions 1.308 and above. If the issue persists on these versions, please ensure that the Trusted Site entries are activated.
0 Comments
Add your comment