Salesforce Fact #475 | Retrieve custom label from org
While retrieving custom label from org, if we specify particular ones in the members tag then the metadata type name is CustomLabel. For example,
<types>
<members>Input_Message</members>
<members>AccountType</members>
<name>CustomLabel</name>
</types>
But while retrieving all the custom labels from the org, the metadata type name can be either CustomLabel or CustomLabels. Like this,
<types>
<members>*</members>
<name>CustomLabel</name>
</types>
OR
<types>
<members>*</members>
<name>CustomLabels</name>
</types>
Comments
Post a Comment