Activity Forums Salesforce® Discussions How to share files using Salesforce Apex?

  • Laveena

    Member
    August 9, 2019 at 9:05 am

    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 4 years, 7 months ago by  Laveena.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos