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 methods which is triggered with Document.AfterMove, but I have just found if I delete this node Document.AfterMove is still triggered.
Is there something in MoveEventsArgs that I can check to make sure its not deleting (MoveToTrash()) the node before I allow the event to continue?
I haven't checked this, but could you check the sending document's parent ID for -20 (recycle bin) before proceeding?
ParentId should be -20 for anything in the trash.
Matt
Will do thanks :)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
MoveEventArgs Question MoveToTrash()
I have a methods which is triggered with Document.AfterMove, but I have just found if I delete this node Document.AfterMove is still triggered.
Is there something in MoveEventsArgs that I can check to make sure its not deleting (MoveToTrash()) the node before I allow the event to continue?
I haven't checked this, but could you check the sending document's parent ID for -20 (recycle bin) before proceeding?
ParentId should be -20 for anything in the trash.
Matt
Will do thanks :)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.