Deleting a class without IDE

Salesforce makes it hard to delete classes in a production org. Our change control policy doesn’t allow for the use of the IDE to make changes to the production org…everything goes through change sets for traceability to th original request.

How do I delete a class?


This can be done with the Migration Tool:

See the full documentation here:

The tool can create or delete any meta-data that can be created through the IDE or Change Sets. It comes with a sample config file that contains example deployments for deploying objects and Apex code and deleting them as well. The documentation has a very detailed step-by-step guide here:

Source : Link , Question Author : Shane McLaughlin , Answer Author : E.J. Wilburn

Leave a Comment