You need to sign in to do that
Don't have an account?
roni shore
trigger on contentlinkdocument
how to write a on trigger ContentDocumentLink ,that fires when a ContentDocumentLink object is created and will check to see if the ContentDocumentLink object relates to an account or a contact. If so, it will set the "have_file__c" checkbox to true on the respective record.
Hi roni,
I think You have got answer from stack Exchange
Like:- https://salesforce.stackexchange.com/questions/197848/trigger-on-contentlinkdocument
Mark this and close this answer.
Regards,
Suraj