Play Games

Search This Blog

Monday, October 18, 2021

How to retrieve custom metadata records in visual studio code using package.xml - Salesforce Globe For You

 How to retrieve custom metadata records in visual studio code using package.xml - Salesforce Globe For You

Solution: Assume Test_Metadata_Records__mdt is the api name of the custom metadata object and First is the record created.

Use Test_Metadata_Records.First as members and CustomMetadata as name as shown below

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<Package xmlns="http://soap.sforce.com/2006/04/metadata">

<types>

<members>Test_Metadata_Records.First</members>

<name>CustomMetadata</name>

</types>

<version>51.0</version>

</Package>

Output:



No comments:

Post a Comment