function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AashikaAashika 

Can you delete trigger and the class from production box using Eclipse tool 3.3.2?

Hi there,

I am trying to delete the trigger from the prod org using eclipse, so I did this in the metadata file:-

<?xml version="1.0" encoding="UTF-8"?>
<ApexTrigger xmlns="http://soap.sforce.com/2006/04/metadata">
    <apiVersion>13.0</apiVersion>
    <status>Inactive</status>
</ApexTrigger>

But, it still shows ACTIVE in the production.

How do I make this Trigger and the class associated to it as INACTIVE or delete them?

Is this possible.

Thanks
MDXHikerMDXHiker
Try false instead of inactive in the meta data
JonPJonP
The Force.com Migration Guide explains how to delete components with the Force.com Migration Tool (for Ant) using destructiveChanges.xml.
http://www.salesforce.com/us/developer/docs/daas/salesforce_migration_guide.pdf (link)

For details on deleting metadata components using the IDE see this thread:
http://community.salesforce.com/sforce/board/message?board.id=apex&message.id=6580 (link)

radhikaradhika
Thanks