3

I have a field named SSN__c which is Text. The fields are managed. I get the Data from External API. I dont want to display the full SSN on page layouts. How can i convert the Text to Number and Display only last 4 digits?

Formula field or and other way?

2
  • 5
    Personally, I'd set field security to private for that field, create a new field that's Text (Encrypted), then set your integration to point to the new field. Failing that, you could just copy the value directly via workflow rule. Either way, encrypted fields should be your first thought. – sfdcfox Jan 4 '16 at 23:37
  • I cant go with Encrypted Field now. Any other way i can mask in the formula field? – Samuel Jackson Jan 4 '16 at 23:45
4
  1. Deny Read access to SSN Field using field level security so SSN is secure
  2. Create a formula text field Right(SSN_C,4) which should get the last 4 digits and display it in your layout.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.