function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
shweta chadha 4shweta chadha 4 

How to create trigger files via apex

Hello,

I am working on the product which needs to be installed in the App exchange through manage package. I need to determine how to create trigger files for custom object via Apex? Can someone please help me on this?
Raj VakatiRaj Vakati
You need to create a trigger on ContentDocument  now 


Refer this link 

http://trail.withneha.com/trigger-on-files-replacing-attachment-trigger/


https://help.salesforce.com/articleView?id=000270734&language=en_US&type=1
https://keyholesoftware.com/2014/01/13/salesforce-content-in-apex/