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 7 years, 11 months ago by  Piyush.
      • This discussion was modified 7 years, 11 months ago by  Forcetalks.
      • This discussion was modified 7 years, 10 months ago by  Forcetalks.
      • This discussion was modified 7 years, 10 months ago by  Forcetalks.
      Adarsh replied 7 years, 11 months 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

    Salesforce Managed Services

    Is Salesforce Managed Services a Fit for You? Pros and Cons to Consider

    Blog in Salesforce

    With tech-integrated personalized and adaptive solutions becoming the norm across businesses, it’s crucial to stay ahead of the curve. Salesforce is one such platform that…

    Architects, Business Ecosystem, Business Needs, Business Practices, Business Risks
    Jessica Anderson Dec 14, 2021
    2,982  Views

    Accelerate Quote to Cash with DemandBlue’s Revenue Cloud Accelerator Program

    Blog in Salesforce Cloud Platform

    Organizations that need to enhance their quote-to-cash process and accelerate revenue growth consider Salesforce Revenue Cloud the best-fit solution due to its boundless capabilities and…

    Approval Email Templates, Business Requisites, Businesses, Conga, CPQ
    DemandBlue Dec 3, 2021
    1,909  Views

    Salesforce Marketing Cloud: A Beacon in the 2025 Digital Marketing Landscape

    Blog in Others

    Salesforce Marketing Cloud has emerged as a dominant force in the digital marketing landscape. Its comprehensive suite of tools empowers businesses to deliver personalized, omnichannel…

    Cloudy Aug 1, 2025
    115  Views

    Popular Salesforce Videos

    What are Roll-up Summary Fields in Salesforce? | How to create them?

    What are Roll-up Summary Fields in Salesforce? | How to create them?

    Video in Others, Salesforce Training

    In this video, Shrey is not only teaching but also demonstrating to you "What are Roll-up Summary Fields in Salesforce?". You will be learning: 1.…

    Salesforce Training, salesforce, Salesforce Video, Salesforce Learning, Journey with Salesforce
    Rupal Kakkar Sep 28, 2020
    1,790  Views
    Custom Aura Feed Component | forceChatter:feed | Chatter in #Salesforce | Salesforce Tutorials

    Custom Aura Feed Component | forceChatter:feed | Chatter in #Salesforce | Salesforce Tutorials

    Video in Others, Salesforce Training

    In this vlog I will create a custom aura feed component with two picklists to select Group and then based on the Group selection, select…

    Salesforce Training, Salesforce Tutorial, Salesforce Chatter, Salesforce Developer, salesforce
    Kapil May 26, 2020
    5,628  Views
    How to Reference Custom Metadata Types to Optimize Salesforce Account Records Using Salesforce Flow

    How to Reference Custom Metadata Types to Optimize Salesforce Account Records Using Salesforce Flow

    Video in Salesforce Development

    Watch this video to learn how to reference custom metadata types to optimize Salesforce Account Records Using Salesforce Flow Salesforce Account Region Allocation using custom…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Flow, Salesforce Video
    Prafull Jun 8, 2021
    1,587  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

    © 2025 - 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.