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
VirijaVirija 

Custom Setting Updation

Hi,

 

I have a custom setting that includes five picklist values. This custom setting is referred  in a trigger. The trigger  will not allow user to delete once a value is selected. I want to add another picklist value to the existing custom setting. Can I just do it by going into Custom Setting and click on the new button and add the pick list value. I want even this picklist value to be referred in the trigger. Should I be making any changes in the trigger, after I update the picklist value in the custom setting.

 

 

 

Thank You in advance for the help.

 

 

 

Best Answer chosen by Admin (Salesforce Developers) 
AmitSahuAmitSahu
If you have a dynamic code then the picklist should be considered in the trigger whenever you are adding an extra value..