Salesforce Certified Platform App Builder — Question 216
Which is true about encrypted fields?
Answer options
- A. A custom field can be converted to an encrypted field.
- B. They are available in Validation Rules or Apex Scripts even if the user is not having the permission "View Encrypted Data".
- C. Encrypted fields can be converted to other field types.
- D. In Email Templates, if an encrypted field needs to be displayed without the mask character, the User who receives the email should have the View Encrypted Data permission.
Correct answer: B
Explanation
Option B is correct because encrypted fields are indeed accessible in Validation Rules and Apex Scripts without the 'View Encrypted Data' permission. Options A and C are incorrect as custom fields cannot be directly converted to encrypted fields, and encrypted fields cannot be transformed into other field types once created. Option D is also incorrect since the 'View Encrypted Data' permission is necessary for displaying unmasked encrypted data in Email Templates.