You need to sign in to do that
Don't have an account?
shweta chadha 4
How to create trigger files for custom objects via apex
Hi,
How to create trigger files dynamically for custom objects via apex?
Thanks, Shweta
How to create trigger files dynamically for custom objects via apex?
Thanks, Shweta
Standard Salesforce does not allow creating Triggers from Apex. However, there is an Apex Wrapper for the Salesforce Metadata API (https://github.com/financialforcedev/apex-mdapi) that you can use to do this.
Kindly mark this answer as best answer if it resolved your query.
Thank you