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 › 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 6 years, 3 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

    application solution

    Popular Salesforce Blogs

    salesforce marketing cloud

    Pardot vs Marketing Cloud: Which Tool Is The Ultimate Game Changer?

    Blog in Salesforce Cloud Platform

    Here’s a question: Which Salesforce marketing automation tool is the right choice for your business? Is it that easy to answer? We bet you, it…

    CRM, CSS styling, Customer Relationship Management, Email Campaigns, Marketing Automation
    Algoworks Apr 24, 2020
    2,024  Views
    Multi-Factor Authentication

    Multi-Factor Authentication in Salesforce - A Short Guide

    Blog in Salesforce Security

    In today's world, it is very important for everyone to keep their data safe and secure. Since we all use different websites for different purposes…

    Apple App Store, Authenticator App, data, Google Play Store, Mobile App
    NAVDITA DAHIYA Dec 8, 2022
    2,207  Views

    Exploring the Future of Salesforce at Dreamforce 2024: Innovations, Experiences, and Opportunities

    Blog in Salesforce integration

    Dreamforce 2024 has set the stage for a transformative year in the world of Salesforce technology. With over 45,000 attendees from more than 140 countries,…

    Business Efficiency, Business Operations with AI, Business Transformation with AI, CRM Best Practices, CRM Implementation
    AwsQuality Sep 24, 2024
    1,241  Views

    Popular Salesforce Videos

    Pros & Cons of Lightning Component vs. 3rd party frameworks in Salesforce UI development

    Pros & Cons of Lightning Component vs. 3rd party frameworks in Salesforce UI development

    Video in Lightning

    Nikita drops by to share his invaluable experience of using popular 3rd party frameworks in Salesforce. http://media.blubrry.com/salesforceway/audio.xmcdn.com/group42/M05/25/57/wKgJ81rXk6XjaZIAAU_I_KtprFM998.m4a  

    Salesforce Training Videos, Salesforce Lightning Components, How to Salesforce Lightning Component, Salesforce Video Tutorials, Salesforce Development Tutorial
    Shiv Kumar Sharma May 21, 2018
    1,963  Views
    Mocking Apex Tests: Salesforce Tutorial

    Mocking Apex Tests: Salesforce Tutorial

    Video in Salesforce Apex

    In this Video Leonardo Berardino talks about the following: Mocking Apex Tests and Apex Mock Examples Unit Tests x Integration Tests How to create unit…

    salesforce, Apex, Salesforce Tutorials, Learning, Apex Triggers
    GyanSys Apr 17, 2023
    1,384  Views
    Salesforce Data Loader Tutorial

    Salesforce Data Loader Tutorial

    Video in Data

    The Salesforce Data Loader is an easy to use graphical tool that helps you to get your data into Salesforce objects. The Data Loader can…

    Salesforce Training, Salesforce Chatter, Salesforce Online Training, Salesforce Objects, Salesforce Data Loader
    Simplilearn Apr 23, 2019
    2,302  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.