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 › How to create record through code in custom metadata types?

    Tagged: Apex Code, Custom Metadata Type, DML, Records, Salesforce Enterprise API, Salesforce Records

    • Salesforce® Discussions

      How to create record through code in custom metadata types?

      Posted by Saddam on September 12, 2019 at 6:40 AM

      How to create record through code in custom metadata types?

      Deepak replied 7 years ago 2 Members · 1 Reply
      • Apex Code
      • Custom Metadata Type
      • DML
      • Records
      • Salesforce Enterprise API
      • Salesforce Records
    • 1 Reply
    • Deepak

      Member
      September 12, 2019 at 2:16 PM

      Apex code can create, read, and update (but not delete) custom metadata records, as long as the metadata is subscriber-controlled and visible from within the code's namespace.

      DML operations aren’t allowed on custom metadata in the Partner or Enterprise APIs. With unpackaged metadata, both developer-controlled and subscriber-controlled access behave the same: like subscriber-controlled access.

      Professional and Group Edition orgs can create, edit, and delete custom metadata records only from types in installed packages.

      Refer:

      https://help.salesforce.com/articleView?id=custommetadatatypes_accessing.htm&type=5

       

    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

    salesforce apple partnership

    Partnership of The Year – Salesforce Team Up With Apple!

    Blog in Others, Salesforce

    Salesforce and Apple are two popular tech giants who have simplified technology and contributed big time to the tech world. Salesforce is known as the…

    Apple, Apple News, Business, iOS App Development, mobile app development
    Algoworks Oct 29, 2018
    6,510  Views
    Twilio App in Salesforce

    Install and Configure a Twilio App in Salesforce

    Blog in Salesforce Products

    Twilio for Salesforce Prerequisites Create a Twilio Account, if you don’t have it yet.  MyDomain is configured for your Salesforce Instance. Create Twilio Account and…

    Auth Token, Authorization Sets, Callback URL, Configure a Twilio App, Connect to Salesforce
    Aditya Sep 23, 2021
    5,377  Views
    How Salesforce Integration Differentiates You from Your Competitors

    How Salesforce Integration Differentiates You from Your Competitors?

    Blog in Salesforce integration

    In our day and age, where customer centricity holds the key to profitability, organizations that had perfected the art of compartmentalizing systems need to wake…

    Customer Service, Customer Success, Customer Support Platform, SaaS, Salesforce Businesses
    KeyNode Feb 23, 2018
    4,173  Views

    Popular Salesforce Videos

    Hello (Salesforce) World - An introduction to Tableau Developer

    Hello (Salesforce) World - An introduction to Tableau Developer

    Video in Salesforce Products

    Hello, Salesforce world! Curious about Tableau (the newest member of the Salesforce family), our developer platform and suite of developer tools available? Whether you are…

    Salesforce Training, salesforce, Salesforce Developers, Salesforce Video, Tableau
    Jogender Jun 22, 2020
    1,485  Views
    What are The Benefits of Salesforce Financial Services Cloud?

    What are The Benefits of Salesforce Financial Services Cloud?

    Video in Salesforce Cloud Platform

    Business today is all about relationships. That’s nothing new. But how you go about managing and maintaining those relationships is completely different in today’s business…

    Salesforce Training, Salesforce Tutorial, salesforce, Financial Services Cloud, Salesforce Video
    Algoworks Aug 31, 2021
    3,514  Views
    Deep Dive into Salesforce Connected App

    Deep Dive into Salesforce Connected App

    Video in Salesforce Training

    In this session, we will deep dive into Salesforce Connected app, its usage for Salesforce developers and admins, various options and configurations provided for Authentication…

    Salesforce Training, Salesforce Tutorial, Salesforce Administrator, Salesforce Admins, Salesforce Developers
    Pooja Sep 3, 2021
    2,208  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.