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

    Defining-Business-Processes-In-Salesforce

    Best Practices For Defining Business Processes In Salesforce

    Blog in Sales

    The meaning of the term business process and the advancement of this definition since its origination by Adam Smith in 1776 has prompted such territories…

    Business Process
    William Feb 26, 2019
    6,187  Views
    Record Locking

    All About Record Locking in Salesforce

    Blog in Others, Salesforce

    In this blog entry, I'd examine the various approaches to secure a Salesforce record UI. By lock, I mean, the client shouldn't have the option…

    Approval Process, Arrangement Closing, Bolt a Record, Business, Business Measure
    Aditya Jan 6, 2021
    10,727  Views

    Top 8 Things to Consider While Selecting Salesforce CPQ Consulting Partner

    Blog in Salesforce

    Salesforce CRM has been a revelation when it comes to elevating the productivity of the company. Starting from managing the Sales Funnel to getting the…

    Business, Case Studies, Companies, Company, Configuration
    Stella George May 4, 2021
    4,657  Views

    Popular Salesforce Videos

    Salesforce Lightning Tutorial | Salesforce Developer Training for Beginners

    Salesforce Lightning Tutorial | Salesforce Developer Training for Beginners

    Video in Lightning

    This salesforce developer training for beginners video is a salesforce lightning tutorial where you will learn introduction to salesforce, salesforce components, salesforce lightning, lightning vs…

    Salesforce Training, Salesforce Lightning, salesforce, Salesforce Developers, Salesforce Lightning Platform
    Rupal Kakkar Apr 7, 2020
    2,161  Views
    Scheduled Actions Workflow Rules, Process Builder and Lightning Flow

    Scheduled Actions Workflow Rules, Process Builder and Lightning Flow

    Video in Lightning

    Time-dependent actions are executed at a specific time, such as 10 days before a record's close date. When that specific time passes, the workflow rule…

    Salesforce Lightning, salesforce, Process Builder, Salesforce Video, Salesforce Learning
    Nauman May 19, 2020
    2,498  Views
    Salesforce Winter '21 Highlights

    Salesforce Winter '21 Highlights

    Video in Salesforce Stories

    Even in these unprecedented times when the world is struggling with a major pandemic that has brought everything to a standstill, Salesforce has strived hard…

    salesforce, User Experience, Salesforce Video, Salesforce Learning, Salesforce Release
    Rupal Kakkar Oct 8, 2020
    1,849  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.