Adminstrator · Apex · Salesforce

Salesforce Encrypted SSN/CreditCard Field Limitation

Salesforce have ability to display the secured data in encrypted format. It is salesforce out of box functionality. You can create new Text(Encrypted) using “Custom Fields & Relationships” on the object.

Screen Shot 2016-07-27 at 3.11.18 PM

Advantage :

  • User can’t see the customer full SSN/CreditCard number
  • If user really want to see user profile have option to enable. Profile permission is “View Encrypted Data”

Disadvantage :

  • Can’t use encrypted field in the report/listview/global search filter criteria
  • Can’t use use in SOQL query where condition. You will get below error while using encrypted field in the query filter condition

Screen Shot 2016-07-27 at 3.29.30 PM


2 thoughts on “Salesforce Encrypted SSN/CreditCard Field Limitation

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s