Toggle Side Panel

  • Home
  • Articles
    • All Articles
    • Blogs
    • Videos
    • Infographics
  • Consultants
    • Salesforce Product Expertise
      • Top Salesforce ConsultantsTop Salesforce Consultants
      • Marketing Cloud ConsultantsMarketing Cloud Consultants
      • Service Cloud ConsultantsService Cloud Consultants
      • Experience Cloud ConsultantsExperience Cloud Consultants
      • Analytics Cloud ConsultantsAnalytics Cloud Consultants
    • Salesforce Industry Expertise
      • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
      • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
      • Health Cloud ConsultantsHealth Cloud Consultants
      • Commerce Cloud ConsultantsCommerce Cloud Consultants
      • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
    • Salesforce Experts by Location
      • USATop Salesforce Consultants in USA
      • IndiaTop Salesforce Consultants in India
      • AustraliaTop Salesforce Consultants in Australia
      • United KingdomTop Salesforce Consultants in UK
      • CanadaTop Salesforce Consultants in Canada
  • Webinars
  • Marketplace
  • Advertise With Us
  • Contact Us
  • Discussions
More options
    Sign in Sign up
    • Home
    • Articles
      • All Articles
      • Blogs
      • Videos
      • Infographics
    • Consultants
      • Salesforce Product Expertise
        • Top Salesforce ConsultantsTop Salesforce Consultants
        • Marketing Cloud ConsultantsMarketing Cloud Consultants
        • Service Cloud ConsultantsService Cloud Consultants
        • Experience Cloud ConsultantsExperience Cloud Consultants
        • Analytics Cloud ConsultantsAnalytics Cloud Consultants
      • Salesforce Industry Expertise
        • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
        • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
        • Health Cloud ConsultantsHealth Cloud Consultants
        • Commerce Cloud ConsultantsCommerce Cloud Consultants
        • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
      • Salesforce Experts by Location
        • USATop Salesforce Consultants in USA
        • IndiaTop Salesforce Consultants in India
        • AustraliaTop Salesforce Consultants in Australia
        • United KingdomTop Salesforce Consultants in UK
        • CanadaTop Salesforce Consultants in Canada
    • Webinars
    • Marketplace
    • Advertise With Us
    • Contact Us
    • Discussions
    Close search

    Activity › Forums › Salesforce® Discussions › What is the difference between Custom Metadata and Custom Setting in Salesforce and how both are different from Custom object?

    Tagged: Custom Metadata Type, Custom Setting, Metadata API in Salesforce, Salesforce Custom Object, Salesforce Custom Settings, Salesforce Customization

    • Salesforce® Discussions

      What is the difference between Custom Metadata and Custom Setting in Salesforce and how both are different from Custom object?

      Posted by Piyush on January 12, 2018 at 12:02 PM

      What is the difference between Custom Metadata and Custom Setting in Salesforce and how both are different from Custom object?

      • This discussion was modified 8 years ago by  Piyush.
      • This discussion was modified 8 years ago by  Forcetalks.
      • This discussion was modified 8 years ago by  Forcetalks.
      • This discussion was modified 8 years ago by  Forcetalks.
      Adarsh replied 8 years ago 2 Members · 1 Reply
      • Custom Metadata Type
      • Custom Setting
      • Metadata API in Salesforce
      • Salesforce Custom Object
      • Salesforce Custom Settings
      • Salesforce Customization
    • 1 Reply
    • Adarsh

      Member
      January 12, 2018 at 12:50 PM

      Hello Piyush,

      What is metadata?
      Metadata describes data. If you’ve ever defined your own custom object or custom fields, you are probably already familiar with the concept. Say you wanted to add a field to the Account object. You would need to configure properties such as its name, data type, field length and whether or not it can be left blank. This field definition is metadata.

      Custom metadata types extend this concept. In fact, the interface for creating custom metadata types and custom metadata records is almost identical to that of creating custom objects and custom object records. In Apex, custom metadata types can be treated as SObjects and respond to SOQL queries the same way SObjects would.

      Custom Metadata vs Custom Objects
      Custom metadata records can be queried using SOQL, but the platform internally caches the metadata records and can retrieve them more quickly than it retrieves SObject records. Querying custom metadata also doesn’t count towards SOQL limits, which is good news for performance and throughput in enterprise organizations.

      Custom Metadata vs Custom Settings
      Custom metadata records can be packaged, which is not the case for either custom objects or custom settings. You have greater control over the visibility of custom metadata types; you can hide the custom metadata types themselves or just hide specific records. You can also control whether or not users can update record values on a field by field basis.

      These are major selling points for adopting custom metadata types. Package developers often want to ship default records with their managed packages. Prior to custom metadata types, they would have spent considerable development effort writing post-install scripts to create the data. They would also have to ensure the application coped gracefully with the data not existing; either because it hasn’t yet been created or because a user deleted it.

      Custom metadata records can also be pushed from sandboxes to production orgs via changesets. This allows you to follow platform best practices; testing out changes in a sandbox before migrating them via changesets into the production org.

      Hope it helps 🙂

    Log In to reply.

    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me

    application solution

    Popular Salesforce Blogs

    Top 10 Salesforce Winter ’21 Features for Sales Cloud that Amplifies your Sales ROI

    Blog in Salesforce Cloud Platform

    Hello Everyone! We are back with our Salesforce Winter ’21 features series. We have already written about the new features and updates that are available as part…

    Automated Meeting, Business Needs, Call Highlights, Community Cloud, Connected Accounts
    DemandBlue Nov 11, 2020
    2,182  Views
    Salesforce Blockchain

    Introducing Salesforce Blockchain: World’s No.1 CRM Moves into Blockchain with its own Platform

    Blog in Salesforce Products

    Salesforce just got done with TrailheaDX 2019 this weekend. Algoworks was at TDX19 too, and oh boy, did we have fun! There was a bunch…

    App Data, Blockchain, Blockchain Issues, Blockchain Networks, CRM
    Algoworks Aug 17, 2019
    3,052  Views

    What is Nonprofit Success Pack and Tips To Make The Best Out Of It | Salesforce

    Blog in Salesforce

    Every Nonprofit organization needs to manage its data like donor's information, volunteers, accounts, emails, etc in one place for it to run seamlessly. The Nonprofit…

    Broader Program, Community-driven Tool, Constituent Relationships, Customized Content, data
    Apphienz May 2, 2022
    2,017  Views

    Popular Salesforce Videos

    How Does SFCC (Headless Commerce) Different From Its Competitors and Why Is It Better? | Salesforce

    How Does SFCC (Headless Commerce) Different From Its Competitors and Why Is It Better? | Salesforce

    Video in Salesforce Stories, Salesforce Training

    Let's have look at which one is better SFCC, Shopify, Magento, or Woocommerce. Which one you should choose?  Have a glance at this extract from…

    salesforce, Salesforce Webinar, Magento, Salesforce MVP, Commerce Cloud
    Cyntexa Aug 30, 2022
    1,448  Views
    A Closer Look at Revenue Cloud | Salesforce

    A Closer Look at Revenue Cloud | Salesforce

    Video in Salesforce Cloud Platform

    Watch this demo to learn how Revenue Cloud can help you take control of revenue growth across every channel including direct sales, partners, and digital…

    Salesforce Training, salesforce, CRM, Salesforce Video, Salesforce Learning
    Nauman Nov 20, 2020
    2,614  Views
    APIs and Integration for the Salesforce Platform

    APIs and Integration for the Salesforce Platform

    Video in Salesforce Integration

    Watch this session to learn how you can integrate with the Salesforce Platform. We'll demonstrate features, APIs, and techniques for integrating with Salesforce Core, Heroku,…

    Salesforce Training, Salesforce Tutorial, Salesforce Integration, salesforce platform, Salesforce Video
    Abhishek Apr 28, 2021
    2,427  Views
    Footer Forcetalks logo

    support@forcetalks.com

    • twitterx

    Quick Links

    Advertise with Us

    Salesforce® Articles

    Dreamforce 2023

    Top Salesforce® Bloggers 2023

    Top Salesforce Consultants

    Get Listed

    Company

    Contact Us

    About Us

    Privacy Policy

    Terms & Conditions

    InsightHub

    Salesforce Blogs

    Salesforce Videos

    Salesforce Groups

    Salesforce Jobs

    © 2026 - Forcetalks ● All Rights Reserved

    Salesforce® is a trademark of Salesforce® Inc. No claim is made to the exclusive right to use “Salesforce”. Any services offered within the Forcetalks website/app are not sponsored or endorsed by Salesforce®.

    Try AuditMyCRM - It is a Salesforce CRM Audit tool which comprehensively scans your Salesforce org and gives you the list of errors or warnings you need to take care of.
    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.