ADM-201 · Question #381
The administrator at AW Consulting has created a custom picklist field. Business users have requested that it be a text field. The administrator attempts to change the field type but, is unable to…
The correct answer is A. Formula fields. A custom picklist field cannot be changed to a text field if it is referenced by a formula field, as formula fields depend on the specific data type of their source fields.
Question
The administrator at AW Consulting has created a custom picklist field. Business users have requested that it be a text field. The administrator attempts to change the field type but, is unable to because it is referenced by other functionalities. Which functionality is preventing the field type from being changed?
Options
- AFormula fields
- BRecord types
- CVisualforce
- DJavascript
How the community answered
(18 responses)- A78% (14)
- B6% (1)
- C6% (1)
- D11% (2)
Why each option
A custom picklist field cannot be changed to a text field if it is referenced by a formula field, as formula fields depend on the specific data type of their source fields.
Formula fields are highly sensitive to the data types of the fields they reference; changing a picklist to a text field would invalidate the formula's logic, preventing the data type change.
Record types use picklist values to define available options but do not directly prevent a picklist field's data type from being changed to text.
Visualforce pages can display picklist fields, but the page's existence does not inherently block a server-side field type change.
Javascript interacts with fields on the client-side but does not prevent server-side changes to field metadata like data type.
Concept tested: Field type change restrictions
Source: https://help.salesforce.com/s/articleView?id=sf.changing_field_type.htm&type=5
Topics
Community Discussion
No community discussion yet for this question.