Copied to clipboard

Flag this post as spam?

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


  • suzyb 476 posts 934 karma points
    May 02, 2013 @ 18:15
    suzyb
    0

    Cancelling import not working

    In my RecordImporting event I am setting e.Cancel to true however it doesn't seem to be cancelling the import, the node is still created.

    Do you need to do anything more than just set this.

     

  • Richard Soeteman 4054 posts 12927 karma points MVP 2x
    May 06, 2013 @ 10:57
    Richard Soeteman
    100

    Hi,

    Sorry for the delay in response. The recordimporting event is fired after the document is created. Cancel will make sure the fields will not get updated. What you can do is also hook in the recordimported event Then check if the import is skipped or any other condition you use to determine the cancel and in the event you can delete the document.

    Hope this helps,

    Richard

     

  • 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.

Please Sign in or register to post replies