• Marlon
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 3
    Replies

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

  • March 08, 2011
  • Like
  • 0

Is there any way to put a trigger on a ContentDocument?  I would like to have an action fire after one is deleted from the system, but it looks like I can only create a trigger on ContentVersion.

 

Any thoughts?