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, 4 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

    Batchable Classes

    Guide To Writing Batchable Classes In Salesforce

    Blog in Salesforce Apex

    Ever heard of “Batch classes” in Salesforce and felt a bit puzzled? Don’t worry; it’s simpler than you think! Imagine you’re baking cookies. You don’t…

    Application, approach, Async Apex Job, Batch, Batch Apex Class
    SF Nov 23, 2023
    1,073  Views

    Salesforce for the Manufacturing Industry

    Blog in Salesforce

    In an era marked by rapid technological advancements and changing customer expectations, the manufacturing industry has transformed. Salesforce is one of the key enablers of…

    Business Growth, Cloud Based CRM, Competitive Advantage, Cross-Department Collaboration, Customer Feedback
    Kizzy Consulting Nov 17, 2023
    1,278  Views

    Get A Salesforce 360° View Of Mobile Phone Activities

    Blog in Others

    In today’s business world who does not have a mobile/cell phone?  Whether it be a company-provided device or increasingly a BYOD (Bring Your Own Device)…

    CRM, Salesforce API, Salesforce customer 360, Salesforce Dashboard, Salesforce Data Stream
    Ian Moyse Jan 31, 2020
    4,468  Views

    Popular Salesforce Videos

    Winter '21 Release | Salesforce Tutorial Video

    Winter '21 Release | Salesforce Tutorial Video

    Video in Others, Salesforce Training

    The Sandbox Preview window for Winter '21 begun on September 11, 2020. You must have an active sandbox on a preview instance before then to…

    Salesforce Training, Salesforce Video, Salesforce Learning, Salesforce Release, Salesforce Tutorial Video
    Stimulus Consulting Oct 13, 2020
    1,562  Views
    Using Salesforce Einstein Prediction Builder

    Using Salesforce Einstein Prediction Builder

    Video in Salesforce Einstein

    Make meaningful business predictions from your Salesforce data with just a few clicks, then use those predictions to make smarter business decisions and to power…

    Salesforce Training, Salesforce Tutorial, Salesforce Einstein, Salesforce Data, Salesforce Video
    Neha Yadav Apr 1, 2021
    1,925  Views
    See how fast and easy you can make intuitive Salesforce solutions to your users with Cauzali.

    See how fast and easy you can make intuitive Salesforce solutions to your users with Cauzali.

    Video in AppExchange

    Instead of coding or very complex flows use Cauzali. Place your Cauzali model everywhere in Salesforce including in the middle of a Flow. Price between…

    Salesforce Lightning, salesforce, Salesforce Flow, Salesforce Video, lightning
    Tom Bo May 15, 2020
    2,044  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®.

    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.