when using Ant Force.com Migration tool,can newly added picklist values to standard object's standard picklist fields which come out of the box be migrated by just including the standard field ?
3 Answers
Yes you can simply migrate by providing appropriate defination in package XML
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>Account.Industry</members>
<name>CustomField</name>
</types>
<version>35.0</version>
</Package>
The above shows how you will migrate industry picklist field for Account
The example given is out of date now as of API 38. See StandardValueSet.
-
2Can you expand on this a little? Link only answers tend to break over time!– Matt Lacey ♦Dec 1, 2016 at 23:40
-
1Currently it is NOT possible to migrate standard field picklist values using ant migration tool or changeset, please support the idea in the answer above. Oct 19, 2017 at 8:50
you can migrate the picklist values of the standard fields by adding the standard value sets from dreamfactory. It is the best method I have found so far.