Friday 8 November 2019

Custom Metadata Loader


Why do you need Custom Metadata Loader ?
Data Loader doesn't support to load the Custom Metadata as of today(Nov 2019),So we have workaround using Custom Metadata Loader can load or update bulk data up 200 records with a single call.

Quick steps to set up Custom Metadata Loader ?
1.Download the zip file & Extract and create new zip file with only below components.


2.Use workbench to deploy this zip file,Refer for quick steps

3.Setup || Permission Set || Custom Metadata Loader || Manage Assignments || Add Assignments --> Give permission to the users who requires this feature.


4.Now you can see the "Custom Metadata Loader" in app picker,Select that app --> Select Custom Metadata Loader tab.


5.Click on the Create Remote Site Setting button of the page.


6.Configure the data load csv file to upload,Take reference of the sample.csv file from the above downloaded zip.


Error : Cannot create a new component with the namespace: XXX. Only components in the same namespace as the organization can be created through the API.

Reason : Your org enabled/created custom domain
Solution : Setup || Remote Site Settings || New Remote Site


Remote Site Name
c_mdapi
Don’t change, provide as it is
Remote Site URL
Copy the page url where your getting that error

Active
True




4 comments:

  1. A note for those who may have missed it -- you need to copy the URL from the Salesforce Classic page. If you use the URL from the Lightning page in the Remote setting, it still will not work.

    ReplyDelete
  2. i am getting below error on click of custom meta data loader tab


    Click to Open Sidebar Content Starts Here
    Maximum view state size limit (170KB) exceeded. Actual view state size for this page was 187.642KB

    ReplyDelete
  3. how to update null field's value using metadata loader

    ReplyDelete
  4. I cannot find zip folder in the github, can anyone help me ?

    ReplyDelete