Study for the Salesforce Platform Developer Exam. Study with flashcards and multiple choice questions, each question has hints and explanations. Get ready for your exam!

Practice this question and more.


Are encrypted fields allowed in list views and roll-up summary fields?

  1. Yes, they are

  2. No, they are not

  3. Only in administrative views

  4. Only if specified by the admin

The correct answer is: No, they are not

Encrypted fields in Salesforce have certain limitations regarding their visibility and usability in different contexts. In list views, which are used to display a collection of records in a tabular format, encrypted fields cannot be displayed. This is due to Salesforce's commitment to maintaining data security and privacy, as the actual values of the encrypted fields are not exposed in the user interface where they could be inadvertently accessed. Similarly, roll-up summary fields, which aggregate data from child records to a parent record, do not support encrypted fields. Roll-up summaries require readable values to perform calculations or aggregate functions, and because encrypted fields hold data in an encrypted format, they cannot be utilized in this manner. These restrictions are primarily in place to ensure that sensitive information remains secure and is only accessible in contexts where specific permissions and visibility rules are maintained. Thus, the choice indicating that encrypted fields are not allowed in list views and roll-up summary fields is accurate.