Activity Forums Salesforce® Discussions What is an Encrypted Field in salesforce?

  • Mohit

    Member
    September 27, 2016 at 12:54 pm

    Hi Pranav,

    Encrypted Field is used to masked the data for user who don't have permission to view encrypted data.

    To make field encrypted in your salesforce Organisation:-

    1)Goto Setup, use the Quick Find box to find the Platform Encryption setup page.
    2)Click Encrypt Fields.
    3)Click Edit.
    4)Select the fields you want to encrypt, and save your settings.

    Note:- Make sure that your salesforce organisation has an active encryption key. If you’re not sure, check with your administrator. When you encrypt a field, existing values aren't encrypted immediately. Values are encrypted only after they are touched

    I hope this will help you.

  • Allie

    Member
    February 14, 2017 at 11:33 am

    Encrypted Custom Fields are a new field type (released after winter 08) that allows users to store sensitive data in encrypted form and apply a mask when the data is displayed (e.g., Credit Card Number: XXX-XXX-XX-1234).
    Some important points :

    User profiles who have the “View Encrypted Data” configuration enabled will be able to view the field normally.
    Users who do not have the “View Encrypted Data” profile will see the mask.
    User profiles that have the “Modify All Data” permission will not be able to see the value of encrypted data fields.
    The field length is restricted to 175 characters in size.
    Encrypted Field cannot be type cast as Unique or External ID.
    An encrypted field cannot be configured with a default value.
    You can’t use encrypted fields in report filters and list views.
    You can’t use the encrypted fields in SOQL “where/order” clauses.
    Also we can not use encrypted field formula fields, workflow rules, workflow field updates, approval process entry criteria, and approval step criteria.
    If you clone a record that has encrypted custom fields, Salesforce will copy the data from the field ONLY if the user has the “view encrypted data” permission.
    You can access the data of encrypted field in apex, i.e value is always unmasked.

     

    Did this answer your question? If not, let me know what didn't work.

    • This reply was modified 7 years, 1 month ago by  Allie.
  • zahraa wahsh

    Member
    May 30, 2019 at 6:47 am

    Thanks Allie for these tips

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos

Salesforce Integration Tutorial | Integrate Salesforce with Apps

Video in

This "𝐒𝐚𝐥𝐞𝐬𝐟𝐨𝐫𝐜𝐞 𝐈𝐧𝐭𝐞𝐠𝐫𝐚𝐭𝐢𝐨𝐧 𝐓𝐮𝐭𝐨𝐫𝐢𝐚𝐥" video by Edureka will help you understand what is Salesforce integration in detail. It will also address the various Salesforce integration…