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
Harish PHarish P 

How to add a New Value to Multi Select Picklist field dynamically In Salesforce Using API or Other options

I have to add a new values to multi select picklist field dynamically.


As per the image i have to add new ValuesThanks in Advance
Khan AnasKhan Anas (Salesforce Developers) 
Hi Harish,

Greetings to you!

I haven't tried it but you can refer to the below links which might help you further with the above requirement.

https://stackoverflow.com/questions/12109820/salesforce-picklistmultiple-with-dynamic-value

https://salesforce.stackexchange.com/questions/65774/how-can-i-add-a-new-value-to-a-picklist-using-apex

https://salesforce.stackexchange.com/questions/79505/how-to-add-new-values-to-a-picklist-from-apex-code

https://developer.salesforce.com/forums/?id=906F0000000AydMIAS

https://salesforce.stackexchange.com/questions/79545/how-to-add-multiple-value-to-a-multipicklist-from-apex

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas