An app builder needs to change the data type of some custom fields. Which two limitations should the app builder be aware of when changing the data Type of a custom field? Choose 2 answers
A.
It is not possible to change the data type of a formula field to any data type.
B.
It is not possible to change the data type of field referenced by Apex code.
C.
It is not possible to change the data type of a field used as an External ID from number to Text.
D.
It is not possible to change the data type of a Text Area (Long) field to Text.
Limitations when changing custom field data types include:
A. It is not possible to change the data type of a formula field – formula fields cannot be converted to other field types because they are calculated dynamically.
D. It is not possible to change a Text Area (Long) field to Text – Salesforce prevents reducing the field length because data loss could occur.
Salesforce documentation highlights these restrictions: (Salesforce Help)
B is partially true; changing fields referenced in Apex requires careful handling, but Apex references can sometimes be updated automatically.
C is allowed with some limitations if the External ID type is compatible.
===========
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit