ADM-201 · Question #382
What data loss considerations should an administrator keep in mind when changing a custom field type from Text to Picklist? Choose 2 answers
The correct answer is D. Any list view based on the custom field is deleted. When changing a custom field type from Text to Picklist, any list views based on the original text field will be deleted, and data loss will occur for existing text values that don't match the new picklist options.
Question
What data loss considerations should an administrator keep in mind when changing a custom field type from Text to Picklist? Choose 2 answers
Options
- AThere will be no data loss with use of a global value set.
- BAssignment and escalation rules may be affected.
- CAuto updates will be made to Visualforce references to prevent data loss.
- DAny list view based on the custom field is deleted.
How the community answered
(37 responses)- A3% (1)
- B5% (2)
- C3% (1)
- D89% (33)
Why each option
When changing a custom field type from Text to Picklist, any list views based on the original text field will be deleted, and data loss will occur for existing text values that don't match the new picklist options.
If existing text values do not exactly match the new picklist values, those values will be lost or become invalid, even with a global value set, as the conversion process only retains matching data.
While assignment and escalation rules might need review if data changes, they are not directly considered a 'data loss consideration' of the field type change itself in the same way as data or list view deletion.
Salesforce does not automatically update Visualforce references to prevent data loss when a field type changes; developers must manually review and update Visualforce pages.
Changing a field's data type, especially from a flexible text field to a more restrictive picklist, often results in the deletion of any list views that rely on the old field type.
Concept tested: Field type conversion impact
Source: https://help.salesforce.com/s/articleView?id=sf.notes_on_changing_custom_field_types.htm&type=5
Topics
Community Discussion
No community discussion yet for this question.