function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
bharath m 7bharath m 7 

Deploy global picklist using ant

Hi All,

Can anyone answer the below questions:
1.)What is the metadata api name for "global picklists and how can one deploy them using ant"?
2.)Difference between the below declarations in package.xml? What are the implications when record types are involved?

​<types>
<members>position_details__c</members>

<Name>CustomObject</name>  
// It seems that retrieving objects retrieves all fields
//What happens when record types are involved?
</types>




<types>
<members>position_details__c.*</members>
<members>position_details__c.status__c</members>

<Name>CustomField</name> 
// retrieves all fields of the mentioned object
//What happens when record types are involved?
</types>

Thanks and Regards,
Bharath Kumar M
Rahul KumarRahul Kumar (Salesforce Developers) 
Hi bharath,

May I request You to please refer the below link for Deploy global picklist. Hope it will be helpful.

Best Regards
Rahul Kumar