Activity Forums Salesforce® Discussions What is the difference between list custom setting and hierarchy custom setting? Reply To: What is the difference between list custom setting and hierarchy custom setting?

  • shariq

    Member
    September 21, 2018 at 12:09 am

    Hi,

    Hierarchical Custom Settings

    Use this for your most of your VF/Apex config settings for stand alone apps
    Don’t put in settings which are environment dependent (e.g. if you have separate test server URLs that should be used in Sandbox vs. Production)
    Definitely, if you are storing User Preferences, Hierarchical is the way to go.
    List Custom Settings

    Use this if you creating config for a common piece of code that appears in different areas of Salesforce
    Use this when there are environmental differences such as Test server URLs vs. Production server URLs
    Also can be used as a simple table for frequently used data

    Hope this helps.