Problem: Assume a custom Label 'Custom_Label_Example' is created. Now we need to retrieve that label in vs code tool using package.xml
Solution: Use name as CustomLabel and member as customLabelApi as shown below.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>Custom_Label_Example</members>
<name>CustomLabel</name>
</types>
<version>48.0</version>
</Package>
Output:
No comments:
Post a Comment