Activity › Forums › Salesforce® Discussions › Where can we use List custom setting and hierarchy custom setting in Salesforce?
-
Where can we use List custom setting and hierarchy custom setting in Salesforce?
Posted by Anjali on June 26, 2018 at 10:04 AMWhere can we use list custom setting and hierarchy custom setting?
shariq replied 7 years, 9 months ago 4 Members · 3 Replies -
3 Replies
-
Hi Anjali,
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.
Thanks.
- [adinserter block='9']
-
Custom setting like as Custom object where you can store your data .
major difference is :
1 – Do not need to Query to access Data We can directly access them using methods
2 –
List custom setting : Every User can Access
hierarchy custom setting : restrict data by user by Using ( User Id) .3 – No owner is assigned when a custom setting is created
Thanks
-
Hi,
List Custom Settings: A type of custom setting that provides a reusable set of static data that can be accessed across your organization.
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.Hope this helps.
Log In to reply.