I am looking for a way to deactivate 700 picklist values (not manually)
I do NOT want to delete the values, only deactivate them
I am trying with ant migration tool with this package.xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>Lead.LeadSource</members>
<name>CustomField</name>
</types>
<types>
<members>LeadSource</members>
<name>StandardValueSet</name>
</types>
<version>43.0</version>
</Package>
I get the metadata successfully but only the activated values, so I don't know how to get or set the values to be deactivated.
QUESTION
Is this possible via ant?
Any other way to do that?
UPDATE
This is the output I get after running the above package.xml:
<?xml version="1.0" encoding="UTF-8"?>
<StandardValueSet xmlns="http://soap.sforce.com/2006/04/metadata">
<sorted>true</sorted>
<standardValue>
<fullName>Webinar_RealTime_September2011</fullName>
<default>false</default>
<label>Webinar_RealTime_September2011</label>
</standardValue>
<standardValue>
<fullName>WebinarTailoringSearchResults</fullName>
<default>false</default>
<label>WebinarTailoringSearchResults</label>
</standardValue>
<standardValue>
<fullName>Website</fullName>
<default>false</default>
<label>Website</label>
</standardValue>
</StandardValueSet>