You need to sign in to do that
Don't have an account?

Pull specific custom metadata records into VScode
Hello All,
How can I retrieve specific custom metadata records from an org.
I use this syntax for specifc fields
sfdx force:source:retrieve -m CustomField:Object.CustomField__c
But what is the syntax for a custom metadata record?
Thanks,
P
I recommend building a Package.xml Manifest and identifying and listing the metadata required to be pulled. You can then run the command
To learn more, see this Trailhead Module
If you find the information provided above helpful, please mark this answer as Best. It may help others in the community. Thank You!
Anudeep
All Answers
I recommend building a Package.xml Manifest and identifying and listing the metadata required to be pulled. You can then run the command
To learn more, see this Trailhead Module
If you find the information provided above helpful, please mark this answer as Best. It may help others in the community. Thank You!
Anudeep
For example, if your custom metadata type is API_Endpoints__mdt and the API name of a metadata record is Contact_Server, this would be your command (note that "__mdt" has been removed from "API_Endpoints"):