+ Start a Discussion

Custom Setting Updation



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) 
If you have a dynamic code then the picklist should be considered in the trigger whenever you are adding an extra value..