Activity › Forums › Salesforce® Discussions › How can we update Custom Setting in Salesforce? Salesforce® Discussions How can we update Custom Setting in Salesforce? Posted by Kirandeep on October 12, 2020 at 11:54 AM How can we update Custom Setting in Salesforce? Anuj replied 5 years, 7 months ago 2 Members · 1 Reply 1 Reply Anuj Member October 12, 2020 at 12:36 PM You can Retrieve custom setting records using either CustomSetting__c.get(‘value’) or [SELECT id FROM CustomSetting__c WHERE name = ‘value’]; Once retrieved you can update the setting by using the ‘update’ keyword as you would with any other object. Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me