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

    DemandBlue and Celigo Partner to Deliver Optimal Process Automation for Salesforce

    Blog in Salesforce Consultant

    DemandBlue, a Salesforce Consulting Partner, announces its’ partnership with Celigo, the leading enterprise-wide Integration Platform as a Service (iPaaS) for the mid-market. Celigo provides automated business processes…

    Applications, Business Growth, Celigo, Customer Experiences, Customers
    DemandBlue Apr 12, 2022
    2,183  Views

    No Code Salesforce and Yesware Integration

    Blog in Salesforce integration

    Salesforce integration provides a comprehensive perspective of data, allowing for better decision-making based on a thorough knowledge of risks and advantages. It also allows for…

    Customer Data, Data Entry, Data Flow, Decision Making, Duplicate Data
    Apphienz Apr 4, 2022
    1,775  Views

    5 Research-Based Insights to Improve Your Salesforce CRM Performance

    Blog in Salesforce

    Businesses are adopting new digital solutions more than ever to drive growth, boost customer engagement, and witness profitable outcomes. Salesforce bridges the gap between people…

    Artificial Intelligence, Business Management, Business Needs, Business Potential, Business Priorities
    Jessica Anderson Nov 22, 2021
    2,620  Views

    Popular Salesforce Videos

    What is Salesforce - The CRM Bringing Companies & Customers Together

    What is Salesforce - The CRM Bringing Companies & Customers Together

    Video in Salesforce Stories

    Salesforce is the world’s #1 customer relationship management (CRM) platform. We help your marketing, sales, commerce, service and IT teams work as one from anywhere…

    Salesforce Training, Salesforce Tutorial, What Is Salesforce, salesforce, CRM
    Vivek Feb 9, 2022
    1,777  Views

    WWE Connector for Salesforce

    Video in Salesforce Integration

    In this quick video we will show the Workspace Web Edition Connector for Salesforce. The WWE Connector leverage a powerful browser extension to guarantee a…

    Salesforce Reports, Salesforce Integration, Salesforce Data, Salesforce Integration Consultant, Salesforce Controller Extension
    Ashley Mar 27, 2018
    2,144  Views
    Send WhatsApp and Save Chat using Lightning Component Salesforce | Salesforce Tutorials

    Send WhatsApp and Save Chat using Lightning Component Salesforce | Salesforce Tutorials

    Video in Salesforce Development

    In this video you will learn to send #WhatsApp using Lightning Component Salesforce. Also we will create a custom object to store the chat. Features…

    Salesforce Lightning, Salesforce Tutorials, Salesforce Developers, Salesforce Lightning Component, Salesforce Video
    Kapil Jul 6, 2020
    3,310  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.