function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
FlossyFlossy 

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)...

MarlonMarlon

Hi,

 

Did you have any luck with this one?

 

Cheers,

Marlon

FlossyFlossy

Alas, no :(

Rocky.4QRocky.4Q

<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>