You need to sign in to do that
Don't have an account?
Destructive change for a picklist value...is there a way to denote just the value?
I am using the Force.com Migration Tool... I have a scenario where picklist values are to be removed. My initial reaction was to dentote something like the following in my destructiveChanges.xml:
<types>
<members>TheObject.ThePicklist</members>
<name>CustomField</name>
</types>
That, of course, will remove the entire picklist...and I can deploy the new picklist...
The biggest problem is that if the picklist is referred to anywhere, failure arises for the destructive change... What I really need is the capability to solely denote the picklist values I want to remove. I tried a number of different naming conventions - none of which worked (for example, TheObject.ThePickllist.ThePicklistValue)...
Hi,
Did you have any luck with this one?
Cheers,
Marlon
Alas, no :(
<types>
<members>TheObject.ThePicklist.ThePicklistValue</members>
<name>PicklistValues</name>
</types>
This holds true for recordtype picklistvalues too.
<types>
<members>TheObject.TheRecordType.ThePicklistValue</members>
<name>PicklistValues</name>
</types>