function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
santhosh konathala 8santhosh konathala 8 

Hi I have a doubt what type of data we can access through custom settings

Best Answer chosen by santhosh konathala 8
JyothsnaJyothsna (Salesforce Developers) 
Hi Santhosh,

Custom settings are similar to custom objects and enable application developers to create custom sets of data, as well as create and associate custom data for an organization, profile, or specific user. All custom settings data is exposed in the application cache, which enables efficient access without the cost of repeated queries to the database.

custom settings is much quicker (again they are stored in the application cache) and do not count against SOQL limits when fetched. You can also use custom settings in formula fields, validation rules, Apex code and the Web Services API.

Types of custom settings
1.List Custom Settings
2.Hierarchy Custom Settings

Please check the below links for detailed explanation with examples.

http://www.sfdcpoint.com/salesforce/custom-setting-salesforce/

http://blog.jeffdouglas.com/2010/01/07/using-list-custom-settings-in-salesforce-com/

Hope this helps you!
Best Regards,
Jyothsna