You need to sign in to do that
Don't have an account?
arsaniketsharma
how to disable trigger using tooling api
Hi team,
I created apex class and apex trigger using tooling api but now i want to disable(Status=inactive) the trigger using tooling api.
I searched and found that i will need to use metadatacontainer to do the same but i am unable to do the task.
i am not getting the apexclassid on which trigger is fired.
I created apex class and apex trigger using tooling api but now i want to disable(Status=inactive) the trigger using tooling api.
I searched and found that i will need to use metadatacontainer to do the same but i am unable to do the task.
i am not getting the apexclassid on which trigger is fired.
Sorry for this issue you are facing.
May I suggest you please refer to below link with a similar discussion which might help you.
- https://stackoverflow.com/questions/29240952/salesforce-tooling-api-deactivate-trigger
Hope this helps.Kindly mark this as solved if the reply was helpful.
Thanks,
Nagendra