How to Load or Update Records in Custom Metadatatype?

1. Go to https://github.com/haripriyamurthy/Deprecated-CustomMetadataLoader.

2. Click Download ZIP.


3. Extract the ZIP file.

4. Create a folder with any name and move the below components alone to the new folder.


5. Create a ZIP file from the folder.

6. Use Workbench to deploy the zip.


Note:
You can use the below options too for deployment.

1. aside.io
2. Force.com IDE with Eclipse
3. Apache ANT tool

7. Choose file and click Next.


8. After successful deployment, go to Custom Metadata Loader tab. Click "Create Remote Site Setting" button.


If you face any issue, create a remote site as below. The URL should be the URL of the tab.


9. Select file, metadata type and click Create/Update custom metadata.


Note:

1. If the file has duplicate Label or Developer Name entries, the last entry becomes the new or updated record.

2. Header must contain the api names of the fields.

No comments:

Post a Comment