+ Start a Discussion
john Daniel 29john Daniel 29 

To get encrypted field value from account to contact

Hi Team,

I'm new to salesforce. How can I get the encrypted field values from the account object to contact object. 
Please help me.
Best Answer chosen by john Daniel 29
Roshni RahulRoshni Rahul
Hi John,

Some important points about encrypted field:
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.

Hope it helps you.