Activity Forums Salesforce® Discussions What are the types of custom settings in Salesforce? What is the advantage of using custom settings?

  • shariq

    Member
    September 22, 2018 at 10:37 am

    There are two types of custom settings in Salesforce: List Custom Settings and Hierarchy Custom Settings.

    List Custom Settings are a type of custom settings that provides a reusable set of static data that can be accessed across your organization irrespective of user/ profile.

    Hierarchy Custom Settings are another type of custom settings that uses built-in hierarchical logic for “personalizing” settings for specific profiles or users.

    The advantage of using custom settings is that it allows developers to create a custom set of access rules for various users and profiles.

  • Parul

    Member
    September 22, 2018 at 1:09 pm

    There are two types of custom settings:

    List Custom Settings
    A type of custom setting that provides a reusable set of static data that can be accessed across your organization. If you use a particular set of data frequently within your application, putting that data in a list custom setting streamlines access to it. Data in list settings does not vary with profile or user, but is available organization-wide. Examples of list data include two-letter state abbreviations, international dialing prefixes, and catalog numbers for products. Because the data is cached, access is low-cost and efficient: you don't have to use SOQL queries that count against your governor limits.

    Hierarchy Custom Settings
    A type of custom setting that uses a built-in hierarchical logic that lets you “personalize” settings for specific profiles or users. The hierarchy logic checks the organization, profile, and user settings for the current user and returns the most specific, or “lowest,” value. In the hierarchy, settings for an organization are overridden by profile settings, which, in turn, are overridden by user settings.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos