You need to sign in to do that
Don't have an account?
Shatrughna Salunke
Insert value in custom picklist using apex code
Hello,
How do I insert values in the custom picklist using apex trigger.
Regards,
Shatrughna
How do I insert values in the custom picklist using apex trigger.
Regards,
Shatrughna
Greetings!
You would need to use MetadataService class to add the picklist value to your picklist as suggested in the below thread:
https://salesforce.stackexchange.com/questions/65774/how-can-i-add-a-new-value-to-a-picklist-using-apex
Please mark it as best answer if it helps you to fix the issue.
Thank you!
Regards,
Shirisha Pathuri