0 votes
1 view
in Salesforce by (11.9k points)

How do I delete an Apex class and trigger in Salesforce Enterprise Edition using Eclipse?

1 Answer

0 votes
by (30.1k points)

You can use the Ant Migration Toolkit for deleting an apex class and trigger and for that you would need to set up the destructivechange.xml file to look similar to 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>

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...