Activity Forums Salesforce® Discussions How can we update Custom Setting in Salesforce?

  • 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.

Popular Salesforce Blogs

Popular Salesforce Videos