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
SteveA101SteveA101 

Encrypted Field

Hi All,

 

I had to encrypt the Social Security field (SSN).  But our company has a website (portal) that references the salesforce database and returns data to the wesite BASED on the user entering the SSN.  I gave the 'user' that is querying the salesforce database "view encrypted data" rights, but the system is still not able to find any records.

 

Any thoughts?

 

Thanks!

Kamatchi Devi SargunanathanKamatchi Devi Sargunanathan

Hi,

 

Is the field you are using is 'Encrypted' field? If it is so, you cannot refer through coding.

 

Instead, create a text field and use the visual force tag '<apex:inputSecret/>'  and mention the text field value to that field. So that is will be secret as well as referred through coding.

 

Hope so this helps you...!

 

Please mark this answer a Solution and please give kudos by clicking on the star icon, if you found this answer as helpful.