Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Bram Loquet 72 posts 102 karma points
    Nov 09, 2010 @ 16:39
    Bram Loquet
    0

    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?

  • Sean Mooney 131 posts 158 karma points c-trib
    Nov 09, 2010 @ 17:20
    Sean Mooney
    1

    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

  • Bram Loquet 72 posts 102 karma points
    Nov 10, 2010 @ 08:53
    Bram Loquet
    0

    Thanks Sean,
    excluding the recycle bin path did the trick.

Please Sign in or register to post replies

Write your reply to:

Draft