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
ying liu 14ying liu 14 

deploy gloabl picklist

Hi,

How to deploy global picklist? I didn't find any metadata for global picklist.
Help me please.
Thank you very much!
Best Answer chosen by ying liu 14
Josh KukovecJosh Kukovec
This worked, for me, in my package.xml:

        <name>GlobalPicklist</name>

When retrieving, it creates a folder named "globalPicklists" 

My package.xml API version is set to 36.

All Answers

Josh KukovecJosh Kukovec
This worked, for me, in my package.xml:

        <name>GlobalPicklist</name>

When retrieving, it creates a folder named "globalPicklists" 

My package.xml API version is set to 36.
This was selected as the best answer
ying liu 14ying liu 14
Thank you Josh. It works.
Raghu Natha 2Raghu Natha 2
GlobalPicklist components are available in API version 37.0 only. In API version 38.0 and later, GlobalPicklist is replaced by the GlobalValueSet type.
<types>
    <members>GlobalPicklistAPIName</members>
    <name>GlobalValueSet</name>
</types>