+ Start a Discussion
zubair shareef mohammadzubair shareef mohammad 

custom settings

hi, 
Can any one give breif explain about Custom data and how to access the data from custom settings?
Thanks every one
Best Answer chosen by zubair shareef mohammad
GauravGargGauravGarg
Hi Zubair,

Custom setting are nothing but a custom object. The basic difference between custom object and custom setting is, we do not require SOQL query to access custom setting records in apex. 
There are two type of custom setting.
1. List type -- Can be accessed by all the user in the org.
2. Hierarchial -- The records are created based on hierarchy, i.e. on profile or user basis which are not accessible by other user's or profile's member. 

For more information please visit below link:
https://help.salesforce.com/apex/HTViewHelpDoc?id=cs_about.htm

Hope this explains !!!

Thanks,
Gaurav

All Answers

GauravGargGauravGarg
Hi Zubair,

Custom setting are nothing but a custom object. The basic difference between custom object and custom setting is, we do not require SOQL query to access custom setting records in apex. 
There are two type of custom setting.
1. List type -- Can be accessed by all the user in the org.
2. Hierarchial -- The records are created based on hierarchy, i.e. on profile or user basis which are not accessible by other user's or profile's member. 

For more information please visit below link:
https://help.salesforce.com/apex/HTViewHelpDoc?id=cs_about.htm

Hope this explains !!!

Thanks,
Gaurav
This was selected as the best answer