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

what is the difference between custom settings and custom labels???

ForceMantis (Amit Jain)ForceMantis (Amit Jain)
Custom setting is a special type of custom object(table in relatinal database). Custom setting are normally used to story application configuration data that is use across application. Custom setting are accessible only to system administrators. Refer online help ( for more details.

Custom Lables are used mainly if you want to support multiple languages in your application. Using custom labels you will define translatable block of messages and give them a specific name. In your code you will use that identifer instead of actual message. To support multiple language you can translate a custom label in respective languages. At the time of UI rendering salesforce UI engine will automatically display appropriate language message based on user's language preferences. Refer online help ( for more details.

If you an any specific query about these let me know.

Subrat kumar RaySubrat kumar Ray
Custom Setting are objects to store data, for retrieving data from those we do not to query them. We can directly access them using methods like getAll() and getValues().
Custom Labels are helpful in multilanguage support app. You can also use this to avoid hard-coding in the code.
Sagar PareekSagar Pareek
Custom settings are used to store the custom configuration of your application depending upon your business process.
Custom Labels are used to label static content on your visualforce pages to allow multi language support.