Unable to Deploy Article Type object that references a Global Picklist with ANT
Last updated 2022-02-10 ·Reference W-3017326 ·Reported By 7 users
Summary
Global Picklists retrieved with ANT cannot be deployed to source org or any other destination org. Deployments fail with this error:
Cannot specify 'globalPicklist' for a CustomField of type Picklist for entity <ENTITY__NAME>
This is a limitation with Knowledge Article Types and Global Picklists in Metadata deploys.
Note: Global Picklists are a Pilot feature in Spring release.
Repro
1) Create and associate a Global Picklist to a Custom Field on the Article Type Object.
2) Retrieve the Objects and associated Global Picklists with ANT.
3) Deploy the retrieved zip file without changing any of the Metadata on source org or any other destination org.
4) Receive the error "Cannot specify 'globalPicklist' for a CustomField of type Picklist for entity <ENTITY__NAME>"
Workaround
The current work around is to do it manually.
Reported By (7)
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.