Content Management and Capture

Content Management and Capture

Come for answers. Stay for best practices. All we’re missing is you.

 View Only
  • 1.  Datacap get FileNet Doc Id

    Posted Fri October 13, 2023 10:59 AM

    Hello All,

    I have a need to get the FileNet Doc ID after the document is exported to FileNet. I need to be able to send a link to the document via email to the user who submitted the document. I know Datacap retrieves the Doc Id during the FNP8_Upload action but I am not sure how to retrieve it in an action.

    Thanks in advance for any advice,

    Bob 



    ------------------------------
    bob Moores
    ------------------------------


  • 2.  RE: Datacap get FileNet Doc Id

    Posted Mon October 16, 2023 03:16 AM

    Hi Bob,

    The FileNet Doc ID is assigned to each page after a successful upload to FileNet. It is stored in a page variable called Doc_ID.

    To retrieve this, you could use the smart parameter @P.Doc_ID, or another smart parameter, depending on how your email ruleset is being put together.

    More information here:

    https://www.ibm.com/docs/en/datacap/9.1.8?topic=libraries-smart-parameter-special-variable-reference

    If you're able to share your ruleset, we could probably help you to get it working.

    Hope this helps,

    Shaun



    ------------------------------
    Shaun McDowall
    ------------------------------



  • 3.  RE: Datacap get FileNet Doc Id

    Posted Mon October 16, 2023 12:43 PM

    Hi Shaun,

    The @P.Doc_ID got me the what I was looking for. I had tried @P\Doc_ID but did not work. I am still confused on when to use a period and when to use a backslash. My first step is to update the database with the FileNet Doc Id and then probable do the e-mail in a separate application. This gets me what I needed!! 

    Thank you very much for the help,

    Bob



    ------------------------------
    Bob Moores
    ------------------------------



  • 4.  RE: Datacap get FileNet Doc Id

    Posted Mon October 16, 2023 01:03 PM

    Hi Bob,

    Glad I could help!

    In terms of when to use the period or backslash, periods are used with Variable names, backslashes are used with Field names.

    I think the reason for this is because fields can have their own variables:

    https://www.ibm.com/docs/en/datacap/9.1.8?topic=reference-special-variables-accessing-runtime-hierarchy

    Many thanks,

    Shaun



    ------------------------------
    Shaun McDowall
    ------------------------------