Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have a Document.AfterDelete event on a documenttype but whe I try to to empy the recycle bin it causes trouble (the recycle bin seems to hang).
Is there a way to disable a Document.AfterDelete event when you empty the recycle bin?
I believe in the Document.AfterDelete event you just need to make sure the the path property of the current node does not contain -20 (the id of the recycle bin)
Hope that helps
-Sean
Thanks Sean,excluding the recycle bin path did the trick.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
disable Document.AfterDelete event when I empty recycle bin
I have a Document.AfterDelete event on a documenttype but whe I try to to empy the recycle bin it causes trouble (the recycle bin seems to hang).
Is there a way to disable a Document.AfterDelete event when you empty the recycle bin?
I believe in the Document.AfterDelete event you just need to make sure the the path property of the current node does not contain -20 (the id of the recycle bin)
Hope that helps
-Sean
Thanks Sean,
excluding the recycle bin path did the trick.
is working on a reply...