Activity Forums Salesforce® Discussions What is the difference between custom label and custom setting in Salesforce?

  • What is the difference between custom label and custom setting in Salesforce?

    Posted by Anjali on August 10, 2020 at 9:01 am

    What is the difference between custom label and custom setting in Salesforce?

    Shweta replied 4 years, 3 months ago 2 Members · 1 Reply
  • 1 Reply
  • Shweta

    Member
    August 10, 2020 at 2:46 pm

    Custom Label: It is a custom text value that can be translated into any language that Salesforce supports. if you want to access the custom labels in aura components, you can use a $Label global value provider. It enables developers to create multilingual applications by automatically presenting information in a user's native language.
    Custom Setting: It is stored in the application cache, which enables efficient access without the cost of multiple repeated queries to the database. So we can avoid governor limits by using this. It allows us to store a set of data and access it without querying it from the apex.
    <div>
    </div>

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos