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, 2 months 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

    FEXLE at Dreamforce 2023: Mastering the Power of Salesforce Integration for Business Growth

    Blog in Salesforce integration

    The universe of Salesforce has shaken with the arrival of the largest conglomeration that is about to happen very soon. Dreamforce 2023 is finally here.…

    API Ecosystem, API Expertise, API Governance, API Setup, Bhawani Sharma
    Fexle Services Sep 14, 2023
    1,435  Views

    Salesforce Automation with Chatter

    Blog in Salesforce Consultant

    Many organizations that start using Salesforce don’t understand the power of Chatter and think it’s just another instant messaging tool. They may already be using…

    Chatter File, Chatter Groups, Chatter Messages, Collaboration Tool, Customer Insights
    KeyNode Sep 24, 2018
    4,853  Views
    Salesforce and Gmail Integration

    Salesforce and Gmail Integration | The Perfect Integration Guide

    Blog in Salesforce integration

    Salesforce Gmail Integration Gmail is a free Web-based Mail service that provides users with gigabytes of storage for emails and information and provides the ability…

    Chrome Browser, Chrome Web Store, Customer Relationship Management, Customers and Partners, Email Platforms
    Nikhil Kumar Sep 2, 2022
    3,178  Views

    Popular Salesforce Videos

    Salesforce JMS Integration Using MuleSoft | Salesforce Tutorial

    Salesforce JMS Integration Using MuleSoft | Salesforce Tutorial

    Video in Salesforce Training

    Salesforce JMS Integration. In this video, the following points will be covered - 1. Introduction Learn how to use queues to integrate data in Salesforce.…

    Salesforce Tutorial, Salesforce Video, Salesforce Learning, Mulesoft, Data
    Algoworks Jul 13, 2021
    2,504  Views
    5 Salesforce Developer Interview Red Flags That’ll Likely Get You Rejected

    5 Salesforce Developer Interview Red Flags That’ll Likely Get You Rejected

    Video in Salesforce Stories, Salesforce Training

    These are some common interview red flags that’ll likely get you rejected for that dream Salesforce developer job. Start prepping accordingly! Watch this video and…

    Salesforce Training, Salesforce Tutorial, Salesforce Jobs, Salesforce Developer, salesforce
    Vivek Oct 11, 2021
    1,641  Views
    My Wild Career Journey: From Lawyer to Salesforce Consultant

    My Wild Career Journey: From Lawyer to Salesforce Consultant

    Video in Salesforce Stories

    People often ask Brainiate what his career journey looked like, and in this video he share with you the key milestones that brought him to…

    Salesforce Training, Salesforce Jobs, Salesforce Consultant, Salesforce Ecosystem, Salesforce Video
    Rupal Kakkar Aug 26, 2021
    2,790  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.