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
lovetolearnlovetolearn 

Making fields external IDs

Is there a way to make a Long Area Text field and a picklist field External IDs? The reason why I want to make them external IDs is so that it would become searchable. 

 

Thanks in advance for your help. 

RArunrajRArunraj

Hi,

 

You can make external id field only for text, number and email not for Long Text area field

 

In case you want the Long text area field as searchable, You can write a before insert or before update trigger to update the value of long text area field from the TEXT AREA FIELD, So that the long text area field is searchable

 

Thanks,

Arunraj

lovetolearnlovetolearn

so i would have to write a trigger that typecasts the text field? if so, what i change it to?