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

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.


Best Answer chosen by Admin (Salesforce Developers) 

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.