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 :-
- List custom setting
- 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
No comments:
Post a Comment