Ye Meri Life Hai – Chirag Mehta

Salesforce – Using List Custom Settings

February 1st, 2010

Salesforce.com recently introduced Custom Settings in Winter ‘10 which allows you to store custom data sets and associate them on an org-wide, profile or user basis. Custom Settings are essentially custom objects that are exposed in the applications cache and are accessible via their own API.

You can certainly build your own custom objects to store settings but using 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.

Custom settings come in two flavors: list and hierarchy.

Jeff’s post focuses on list custom settings which is the simpler of the two to grok. Read Jeff post @ http://blog.jeffdouglas.com/2010/01/07/using-list-custom-settings-in-salesforce-com/

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

*