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.


Which of the following statements accurately describes Salesforce custom fields?

  1. A unique field can be optional in reports

  2. A required field must be filled on edit pages

  3. Custom fields do not affect SOQL performance

  4. Unique fields are only allowed on text types

The correct answer is: A required field must be filled on edit pages

The statement that accurately describes Salesforce custom fields is that a required field must be filled on edit pages. When defining a custom field within Salesforce, you can designate certain fields as required. This means that users will be prompted to complete these fields before they can save a record. This validation ensures that critical information is always captured for each record, which is essential for maintaining data integrity and meeting business requirements. In contrast, unique fields are specifically designed to ensure that no two records can have the same value in that field, but they can be applicable to various data types, not limited to text types only, which is addressed by the fact that unique fields are not restricted in that way. The statement about optional fields in reports suggests a misunderstanding, as fields designated as unique do not have reporting restrictions on their optionality. Furthermore, while custom fields can influence SOQL performance due to the complexity they introduce, stating that they do not affect performance is inaccurate. Therefore, the requirement for specific fields on edit pages is a key feature that clearly illustrates how custom fields operate within Salesforce.