You need to sign in to do that
Don't have an account?
waylonatcim
Triggers on ContentDocument
Is there any way to put a trigger on a ContentDocument? I would like to have an action fire after one is deleted from the system, but it looks like I can only create a trigger on ContentVersion.
Any thoughts?
http://developer.force.com/releases/release/Spring12/contentdocument+triggers
Hi,
I created a "delete" trigger for the ContentDocument and it does get fired when one deletes a Document from the Salesforce standard page. However it doesn't seem to get called when executing a 'delete' DML operation from an Apex code.
Any ideas?
Thanks
hi Marlon,
did you get any reply on this issue. We are facing the same situation on our test method code .
thanks
Hi Andrea,
Unfortunately I didn't, so we changed our approach (i.e. without the trigger).
Cheers
Can you please let me know the approach you have taken for having the validation rule?