You need the metadata api in that case, which is not ideal for this requirement as this warrants a deployment t be done. I would suggest adding it the conventional way or making it a unrestricted pick list to add any values from apex or integration systems.
Bro, 1 more help regarding the same, the values added to the unrestricted picklist are inactive instead being active. Can you suggest any better way to deal with this situation?
@@ddhananjayrao3296 ideally you should not even see this on the list. Try a value thats not in the list and try adding that value and see how the behaviour is
At the end of this course can you please make a video on how to add/delete a picklist value using apex.
You need the metadata api in that case, which is not ideal for this requirement as this warrants a deployment t be done.
I would suggest adding it the conventional way or making it a unrestricted pick list to add any values from apex or integration systems.
@@salesforcemakessense thanks Himanshu bro. 👍🏽
Bro, 1 more help regarding the same, the values added to the unrestricted picklist are inactive instead being active. Can you suggest any better way to deal with this situation?
@@ddhananjayrao3296 ideally you should not even see this on the list. Try a value thats not in the list and try adding that value and see how the behaviour is
@@salesforcemakessense show inactive in Custom object and not showing in standard object (opportunity)