Toggle Side Panel

  • Blogs
  • 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
  • Contact Us
  • Discussions
More options
    Sign in Sign up
    • Blogs
    • 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
    • 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, 7 months ago by  Piyush.
      • This discussion was modified 8 years, 7 months ago by  Forcetalks.
      • This discussion was modified 8 years, 7 months ago by  Forcetalks.
      • This discussion was modified 8 years, 7 months ago by  Forcetalks.
      Adarsh replied 8 years, 7 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

    Popular Salesforce Blogs

    Everything You Need to Know for the World's Biggest Salesforce Dreamforce 2025!

    Blog in Others

    Salesforce is one of the biggest CRM platforms in the world. Almost every mid- to high-level organization utilizes it for seamless workflow within departments and…

    Ray brad Aug 1, 2025
    501  Views

    Key Salesforce Benefits for Healthcare

    Blog in Others

    During the peak of COVID-19, the importance of a streamlined workflow that would make the most efficient use of healthcare resources such as medicines, equipment,…

    Appointment Reminders, Audit Trail, Automation, Burnout, Clinicians
    Twistellar Sep 12, 2023
    1,416  Views
    Stuck on the Salesforce Security Review Process

    Stuck on the Salesforce Security Review Process?

    Blog in Others

    The attack vector and evidence of vulnerability associated with each item is listed below with a description of the vulnerability. Remediation steps and additional educational…

    Cross-Site Scripting attacks, Salesforce Security, Salesforce Security Review, Security Review Process
    Abhinav May 4, 2016
    10,478  Views

    Popular Salesforce Videos

    Salesforce CPQ Subscription Pricing

    Salesforce CPQ Subscription Pricing

    Video in Salesforce Training

    Configure Price Quote (CPQ) is a powerful sales tool that enables companies to produce accurate and highly configured sales quotes for customers — especially in…

    Salesforce CPQ, CPQ, Salesforce Video, Customers, Companies
    Engage Systems Sep 24, 2020
    2,447  Views
    How to Configure Lightning Sales Path Salesforce

    How to Configure Lightning Sales Path Salesforce

    Video in Lightning

    In this video, Pratima provides a detailed demo on how to configure the Lightning Sales Path, the Lead path for Standard and custom objects, the…

    Salesforce Training, Salesforce Tutorial, Salesforce Lightning, salesforce, Salesforce Lightning Development
    Tulika Wadhwani Oct 17, 2022
    1,787  Views
    Difference between B2B, B2C and B2B2C Salesforce Commerce Cloud?

    Difference between B2B, B2C and B2B2C Salesforce Commerce Cloud?

    Video in Salesforce Stories, Salesforce Cloud Platform

    There is a lot of buzz about the Salesforce commerce cloud and its effective offerings. Let’s dive deep into the world of Salesforce and the…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Commerce Cloud, Salesforce Webinar
    Cyntexa Aug 18, 2022
    2,809  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®.

    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.