• arc_08
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 0
    Replies
We are planning to  Automate Custom settings update based on the org’s. As of now , we are manually updating them .We want to store all custom settings data into Static resource then update it through Apex. How to do this?
  • March 18, 2020
  • Like
  • 0
Hi Everyone,

Currently we are manually changing/updating custom field values every time we did refresh from production. But we have different values in Production and sandbox, when we refreshed sandbox values are getting Prod values and we are doing manual changes to them. 
To avoid this manual change is there any other way that can be auto update to old values whenever refresh is done??

Please provide a sample apex code and how to retrive the old values of custom setting
  • March 11, 2020
  • Like
  • 0