Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was successful in adding picklist values through the IDE but unable to remove them directly from the metadata xml.

Is there something I'm missing or is this a known issue.

share|improve this question

package.xml, which is what the IDE uses, does not allow you to delete metadata components. The only way to delete metadata components through the metadata api is with something called destructivechanges.xml.

If you want to do this in a scriptable fashion then the migration tool is your best bet but otherwise you can just delete it manually through the UI.

share|improve this answer

I remember trying this a few months ago using destructive changes and it didn't work. It seems like your only option is to do it manually or use javascript (depending on what you want to do).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.