Insert DocID into a document - InfoPath Dev
in

InfoPath Dev

Now you can find InfoPathDev on YouTube and Twitter!

Insert DocID into a document

Last post 02-03-2010 04:20 PM by S.Oka. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 02-03-2010 01:55 PM

    • S.Oka
    • Top 200 Contributor
    • Joined on 05-05-2009
    • Posts 31

    Insert DocID into a document

    Hello,

    I have noticed that we can insert RefID into a document by setting up it from DAT, which is wonderfull, though I wish I could know it before.

    I am wondering if there is a similar way to insert DocID into a document automatically.

    Thanks

    Filed under: ,
  • 02-03-2010 02:31 PM In reply to

    Re: Insert DocID into a document

    Hi Oka-san,

    DBXL inserts the DocID into a document when you submit it. If your scenario is supporting multiple saves from a new document, you will need to insert the DocID into it. In DBXL 2.4 (release planned for this quarter) this becomes easier - we have an XTP that automatically does this using a new Web Service. It uses a Key to get the DocID. In DBXL 2.3, you have to insert the PI using code. It's a few lines of code. I will ask one of our developers to reply with a sample.

    More soon,

  • 02-03-2010 02:50 PM In reply to

    Re: Insert DocID into a document

    Hi,

    There's a sample online, here: http://www.infopathdev.com/files/folders/miscellaneous/entry49724.aspx

     

    Ernesto Machado
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


  • 02-03-2010 03:29 PM In reply to

    Re: Insert DocID into a document

    Hi, 

    For a code sample, are you using InfoPath 2003 or 2007? Do you use VB or C#?

    Thanks!

    Hilary Stoupa
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


  • 02-03-2010 04:20 PM In reply to

    • S.Oka
    • Top 200 Contributor
    • Joined on 05-05-2009
    • Posts 31

    Re: Insert DocID into a document

    Hello,

    Thank you for the prompt reply.  We are using InfoPath2007, though I am not willing to use a code. But I also found previous post;

    http://www.infopathdev.com/blogs/david/archive/2008/07/21/codeless-way-of-getting-dbxl-document-properties-docid-doctype-and-dbxl-url.aspx

    It was very easy if we need DocID from the second opening of a document.

    Thanks

Page 1 of 1 (5 items)
Copyright © 2003-2010 Qdabra Software. All rights reserved.
View our Terms of Use.