Copied to clipboard

Flag this post as spam?

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


  • suzyb 474 posts 932 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 4046 posts 12899 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

     

Please Sign in or register to post replies

Write your reply to:

Draft