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
shyam sundar 112shyam sundar 112 

how to update picklist value from a lookup

I need to update my picklist value Nationality__C from the lookup value nationalitylookup__c .

If the lookup value is "kuwait" i have to update the picklist as "Kuwait". Whatever the value is in lookup it has to gt updated in picklist value.
 
ANUTEJANUTEJ (Salesforce Developers) 
Hi Shyam,

If I get the issue correct you would like to show the lookup value as the picklist value is it right?

In that case you can make a trigger such that you can update the necessary values before saving the record.

I hope this helps,

Regards,
Anutej
shyam sundar 112shyam sundar 112
hi @anutej

Please help on this i'm not aware of triggers.