Hi Somendra,
To customize file sharing behavior, define an Apex trigger for the ContentDistribution or ContentDocumentLink objects. The ContentDistribution object represents a file shared externally. A ContentDocumentLink represents a file shared with an internal object, such as a user, group, or record.
The ContentDocumentLink object supports triggers before and after these operations: insert, update, delete.
For more information, please refer – https://releasenotes.docs.salesforce.com/en-us/winter16/release-notes/rn_chatter_files_content_triggers.htm
Thanks
-
This reply was modified 6 years, 10 months ago by
Laveena.