Chandresh Koyani
Chandresh Koyani

Reputation: 362

Delete Trigger from Salesforce Production environment

We have some inactive trigger in our salesforce production environment, As we are not using this, i want to delete those triggers, Any one know that how we can hard delete trigger from salesforce?

Upvotes: 0

Views: 172

Answers (1)

anschoewe
anschoewe

Reputation: 1089

This can be done with the Ant Migration Tool. The same way a package.xml is used to define items you want to deploy, you create a destructiveChanges.xml file to delete components.

Destructive Changes

You put this xml file in the same folder as your package.xml and then do a normal deployment. The package.xml can be empty if there are no new/updated files to deploy.

Upvotes: 0

Related Questions