ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 278 - Certified Platform App Builder discussion

Report
Export

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.
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,
Answers
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.
Answers
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.
Answers
D.
It is not possible to change the data type of a Text Area (Long) field to Text.
Suggested answer: A, D

Explanation:

Changing the data type of custom fields in Salesforce has specific limitations that need to be considered to ensure system integrity and prevent errors:

A . It is not possible to change the data type of a formula field to any data type. Formula fields are calculated based on other field values and cannot be converted into a storage data type because they do not store data themselves.

D . It is not possible to change the data type of a Text Area (Long) field to Text. Text Area (Long) fields support up to 131,072 characters, which far exceeds the 255 character limit of standard Text fields. Converting such a field to a smaller capacity field would potentially lead to data truncation or loss.

For official guidance on data type changes, refer to Salesforce's Custom Field Considerations.

asked 23/09/2024
Mark Singer
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first