Custom settings in Salesforce

By | January 27, 2020

What is custom setting?

Custom setting is also used to store the data, but the data which is stored here can be retrieved without writing a soql query.

As if we retrived data without writing soql query then performance will be faster

They are 2 types of custom settings, they are :-

  1. List custom setting
  2. Hierarchy custom setting

List custom setting:-

  • List is used to store group of records.

Hierarchy custom setting :-

  • Hierarchy is used to store the value based on a user or a profile.

Navigation to create custom setting

Setup –> Build –> develop –> custom settings –> New –> give label, object name & setting type (list or hierarchy) –> Save

Leave a Reply

Your email address will not be published. Required fields are marked *