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
Chicho13Chicho13 

autoupdate/autopopulate picklist

Is it possible to autoupdate or autopopulate a picklist? I have a picklist with users name. If a user changes his name, the new user name should be displayed in the picklist and the old name should be gone.

Thanks

Best Answer chosen by Admin (Salesforce Developers) 
sambasamba

I think picklist can not do it for your requirement. I think you will have to create a custom setting and create a trigger on the user object. you need to update custom setting records when a user changes his name.

 

Hope this helps.

 

Thanks,

Samba