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, 1 month 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

    Why Businesses Hire Salesforce Service Cloud Certified Consultants in 2026

    Blog in Salesforce

    Customer service has become a key competitive differentiator across industries. Today's customers expect fast resolutions, personalized support, and consistent experiences across multiple communication channels. Meeting…

    hire Salesforce Service Cloud consultants, Salesforce Service Cloud, salesforce service cloud consultant, Salesforce Service Cloud Implementation
    Dean Jul 24, 2026
    109  Views
    Learn Salesforce Einstein – Chapter 6 (Create Dataset)

    Learn Salesforce Einstein – Chapter 6 (Create Dataset)

    Blog in Coding and Scripting, Data

    This page allows creating Dataset for Vision and Language Einstein. You can go to this page by clicking on Create link on Dataset tab. Also,…

    Dataset in Salesforce, Salesforce Data
    0to1Code.Com Sep 15, 2017
    5,437  Views
    Driving Business Agility through On Demand Salesforce Services

    Driving Business Agility through On Demand Salesforce Services

    Blog in Salesforce Consultant

    When successful businesses are constantly changing with mergers, acquisitions, launches, and other events discover how an On Demand Salesforce service model can meet your fluctuating business…

    Deployment In Salesforce, Force.com, FPM, Integration Cloud, ODS
    LevelShift (formerly DemandBlue) Aug 28, 2018
    3,699  Views

    Popular Salesforce Videos

    Building a Custom UI with Lightning Web Components | Salesforce Tutorial

    Building a Custom UI with Lightning Web Components | Salesforce Tutorial

    Video in Lightning, Salesforce Training

    Lightning Web Components is a modern JavaScript framework that leverages the web standards breakthroughs over the past few years. Watch this session to understand how…

    Salesforce Training, Salesforce Tutorial, salesforce platform, UI, Salesforce Video
    Rupal Kakkar Apr 29, 2021
    2,447  Views
    Introducing the New gRPC-based Pub Sub API | Salesforce Developer Quick Takes

    Introducing the New gRPC-based Pub Sub API | Salesforce Developer Quick Takes

    Video in Salesforce Stories

    Learn about the Pub Sub API, a new gRPC-based API that exposes the power of the Salesforce Event Bus. Discover the technology, its use cases,…

    Salesforce Training, Salesforce Developer, Salesforce Event, Salesforce Video, Salesforce Learning
    Pooja Jul 7, 2022
    1,776  Views
    Top 6 Products by Salesforce Marketing Cloud

    Top 6 Products by Salesforce Marketing Cloud

    Video in Marketing, Salesforce Cloud Platform

    Salesforce is largely regarded as the most influential Salesforce automation and cloud CRM vendor, having popularized the SaaS model and, in the process, disrupted the…

    salesforce, Salesforce Marketing Cloud, Salesforce Automation, Salesforce Video, Cloud CRM Vendor
    Algoworks Feb 4, 2021
    1,816  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.