You need to sign in to do that
Don't have an account?
sonisha s
Can you tell me whats wrong in here,and how can i make this work!
trigger EmptyCS on Account(before insert,before update){ for(CustomObj__c obj: CustomObj__c.getAll().Values()){ for(Account a: Trigger.new){ a.put(obj.Name,''); update a; } } }
Where CustomObj__c is my custom setting object, i need to set the values of the custom setting to blank, can anyone please suggest a solution!
Thanks & Regards
Try below code,
Hope this will helps you.
Thanks
karthik