Copied to clipboard

Flag this post as spam?

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


  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Jan 31, 2013 @ 08:45
    Darren Ferguson
    0

    Get ID of extracted document on the target server

    Hello All,

    Ist it possible to get the ID of a document on the target server once extracted? I am using the code below but this provides the ID from the source

    DocumentItemProvider.Instance().Extracted += Class1_Extracted;
            }
            void Class1_Extracted(object sender, ItemEventArgs e)
            {
                var d = e.Item as Document;
                var provider = sender as ItemProvider;
                Log.Debug(d.Id + " -> " + d.ItemId.Id + " -> " + d.Name);
            }

  • Per Ploug 865 posts 3491 karma points MVP admin
    Jan 31, 2013 @ 10:11
    Per Ploug
    0

    Well, the ID shouldnt change, as Courier always aims at getting an ID that wont change between instances

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Jan 31, 2013 @ 10:30
    Darren Ferguson
    0

    In this case the document ID is 1066 on the source and 1077 on the target.....

Please Sign in or register to post replies

Write your reply to:

Draft