You need to sign in to do that
Don't have an account?
Dennis Boelting
How can I remove a trigger by means of the developer console?
Hi,
I would like to remove a trigger in both production and sandbox by means of the developer console.
Is this possible at all and if so, how can I do this?
Thanks
Dennis
I would like to remove a trigger in both production and sandbox by means of the developer console.
Is this possible at all and if so, how can I do this?
Thanks
Dennis
You can do this in the Set-up menu.
Type Trigger on the quick find box in the set up menu. Choose the trigger of the object that you want to delete. Click on the trigger name. You ge a delete button there on the page. If you are refering to a custom object trigger, go to the objects list and get the trigger from there.
Hello Dennis,
You can delete in sandbox, but not possible in production.
The best way is inactive and remove or comment code in sandbox and make it inactive and deploy back to Production.
I hope this helps.
Thanks
PFB to understand how to delete a trigger from production.
https://help.salesforce.com/articleView?id=000006188&type=1
Sample package xml for apex class deletion and same will work for trigger:
Thanks
Brahma