Take the 2-minute tour ×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

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

2 Answers 2

package.xml, which is what the force.com 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 force.com migration tool is your best bet but otherwise you can just delete it manually through the UI.

share|improve this answer
add comment

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

Your Answer

 
discard

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.