How do I delete an Apex class in Salesforce Enterprise Edition using Eclipse? -
how delete apex class , trigger in salesforce enterprise edition using eclipse?
in order delete trigger production org using eclipse need use following steps(assuming have sandbox org):
- through web interface in sandbox org, inactivate trigger
- refresh sandbox project in eclipse , deploy inactive trigger production
- refresh production project in eclipse, right click on trigger , select delete
- accept option delete server
i believe above steps work, have ever removed components production org using destructive changes & ant migration toolkit.
to use ant migration toolkit destructive change need setup destructivechange.xml file similar this:
<?xml version="1.0" encoding="utf-8"?> <package xmlns="http://soap.sforce.com/2006/04/metadata"> <types> <members>mytrigger</members> <name>apextrigger</name> </types> <version>21.0</version> </package>
there full instructions on how propogate destructive changes on developerforce.
Comments
Post a Comment