function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Puja Patil 13Puja Patil 13 

How to change datatype of standard field of task

Hi,
I have to change the datatype of "Releted To" field of "Task" object.
i.e. What id of task. This is lookup field. and i want only 3 objects i.e. Account, Contact, Opportunity.
yogesh_sharmayogesh_sharma

Hi Puja,

'Related To' is a standard field and you cannot change the data type for standard fields. You can do one thing you can create three lookups on task with referecne to said objects and can put validation rules, so at the same time user can select only one lookup (Account/Contact/Opportuntiy)