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

    application solution

    Popular Salesforce Blogs

    Salesforce Sales Dashboards

    Top 7 Salesforce Sales Dashboards for 2022-2023

    Blog in Salesforce

    Salesforce Sales dashboards are great tools for taking full advantage of CRM capabilities. The platform allows you to collect all the information about your company,…

    Best Client, Best Opportunities, Business Decisions, Business Opportunities, Business Owners
    SkyPlanner Oct 27, 2022
    2,633  Views
    Duplicate Management

    Overcoming the Limitations of Duplicate Management in Salesforce

    Blog in Salesforce Products

    The volume of data in B2B organizations is doubling every year. Therefore, even if your data is clean today, it is only a matter of…

    B2B Organizations, Bad Data in Salesforce, Custom Objects, Customer Experiences, data
    Sukhwinder Singh Jan 25, 2022
    3,905  Views

    Salesforce Automation Process

    Blog in Others

    Introduction - Salesforce provides multiple tools to automate your organization's business processes. These Salesforce Automation are - Don’t forget to check out: Salesforce Automation with Flow…

    Approval Process, Flow, Salesforce Apex, Salesforce Process Builder, Trigger
    Arun Feb 20, 2020
    8,004  Views

    Popular Salesforce Videos

    Salesforce Einstein Discovery Spring 21

    Salesforce Einstein Discovery Spring 21

    Video in AI and ML, Salesforce Einstein

    Einstein Discovery is AI-powered analytics that enables business users to automatically discover relevant patterns based on their data – without having to build sophisticated data…

    Salesforce Training, Salesforce Tutorial, Salesforce Einstein Discovery, Salesforce Video, Salesforce Learning
    Rupal Kakkar Feb 4, 2021
    1,673  Views
    Salesforce Integration Using Oracle SOA Suite

    Salesforce Integration Using Oracle SOA Suite

    Video in Salesforce Integration

    In this video, Bristlecone gives an introduction to Oracle Cloud Adapter for Salesforce.com.  Afterwards, he goes into detail about how to integrate Salesforce.com using Oracle…

    Salesforce Training, Salesforce Tutorial, Salesforce Integration, salesforce, #integration
    Rahul kapoor Sep 7, 2022
    1,931  Views
    Salesforce Multifactor Authentication Webinar

    Salesforce Multifactor Authentication Webinar

    Video in Salesforce customization

    An extra layer of security on your Salesforce org is always worth it. Learn how to safeguard your sensitive Salesforce account information from unauthorized access…

    Salesforce Security, salesforce, Salesforce Org, Salesforce Account, Developers
    360 Degree Mar 16, 2022
    1,977  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.