I've added several values to the new UserTerritory2Association.RoleInTerritory2
picklist. I tried to deploy the field using Salesforce Migration Tool:
<types>
<members>UserTerritory2Association.RoleInTerritory2</members>
<name>CustomField</name>
</types>
At first, it retrieved the field, but left the picklist values behind, so I manually modified the XML an added the values.
However, I get the following error:
All Component Failures:
1. objects/UserTerritory2Association.object (UserTerritory2Association.RoleInTerritory2) -- Error: To modify a Standard Picklist, use Standard Value Set instead.
From the message, I presume I am being told to use the new Picklist Value Sets feature, however it doesn't appear this features works for standardized picklists, or at least this standard picklist.
Is it possible to deploy customer UserTerritory2Association.RoleInTerritory2
picklist values, and if so, how?