CRT-101 practice question 21 of 30

What data loss considerations should an administrator keep in mind when changing a custom field type from Text to Picklist? Choose 2 answers

Full set: 248 questions
Answer options
A: There will be no data loss with use of a global value set.
B: Assignment and escalation rules may be affected. Correct answer
C: Auto updates will be made to Visualforce references to prevent data loss.
D: Any list view based on the custom field is deleted. Correct answer
Correct Answer:
B. Assignment and escalation rules may be affected.; D. Any list view based on the custom field is deleted.
Explanation

When changing a custom field's data type from Text to Picklist, an administrator must consider several potential impacts. Assignment and escalation rules that reference the field can be affected because their criteria, which were based on text values, may no longer evaluate correctly with the new picklist values. Furthermore, any existing list views that use the custom field for filtering or as a display column will be deleted, as the change in data type invalidates their configuration. These are critical considerations to prevent loss of functionality and configuration data.

Why Incorrect

A. There will be no data loss with use of a global value set. This is incorrect. Data loss will occur for any record where the existing text value does not exactly match one of the values in the new picklist or global value set.
C. Auto updates will be made to Visualforce references to prevent data loss. This is incorrect. Salesforce does not automatically update code references in Visualforce pages. Manual updates are required to align the page components with the new field type.

References

1. Salesforce Help Documentation, "Notes on Changing Custom Field Types":

Reference for Correct Answer (B): Under the "General Considerations" section, it states, "Assignment rules and escalation rules can be affected when you change the data type of a field they reference."

Reference for Correct Answer (D): The same document explicitly states, "If you change a custom field’s data type, any list views based on the custom field are deleted..."

Reference for Incorrect Answer (A): In the table detailing specific conversions, for changing Text to Picklist, it notes that existing values are only retained if they are part of the new picklist value set, otherwise, the value is deleted. This confirms data loss is possible.

Reference for Incorrect Answer (C): The document warns, "If the field is referenced in a Visualforce page, changing the field’s data type can change the component type and its display," implying manual intervention is needed, not automatic updates.

2. Trailhead, "Data Modeling" Module, "Customize a Salesforce Object" Unit:

Reference for General Concept: This unit covers the creation and modification of custom fields. It emphasizes that changing a field's data type is a significant action with potential consequences, stating, "Be careful when changing a field’s data type. Changing the data type can cause data loss..." This supports the reasoning that options A and C, which suggest automatic prevention of loss, are incorrect, while B and D, which highlight potential negative impacts, are valid considerations.

Scroll to Top