function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Stefan Senegeac 6Stefan Senegeac 6 

Encrypt Long Text Areas that contain JSON data using Shield - is this the best way?

Hello,

I'm just wondering what's the best way to encrypt JSON data fields that come from an external system. I'm storing said JSON data in Long Text Areas in a custom object. 
Some say if you ecnrypt JSON fields some data clipping may occur - is this true?
Thanks.
Altaf Ahmed 7Altaf Ahmed 7
If you are encrypting any salesforce custom field, whatever the data comes in from external system will be auto encrypted but the data at the rest is encrypted, from UI perscpective, you can see the data.