[SalesForce] difference between custom setting and custom object

I familiar with custom object but what about custom setting?

Best Answer

Custom settings is an standard object of the salesforce platform, where you can save your settings and associate it to the profile or user.

Here is some info from the official doc:

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. This data can then be used by formula fields, validation rules, Apex, and the SOAP API.

Generally you can use custom settings for the parameter that can not be stored in the profile or user object. For example "Google Maps Key" for all profiles or whole org. Or region for the specific profile.

Learn more bout Custom Setting here.
Information about how to access Custom setting.

Related Topic