Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Salesforce by (11.9k points)
edited by
How do I delete an Apex class and trigger in Salesforce Enterprise Edition using Eclipse?

1 Answer

0 votes
by (32.1k points)
edited by

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>

I will recommend you this salesforce certification course from Intellipaat. This training provides all the required skills and helps you to become a certified salesforce developer! 

Related questions

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...