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
------------------------------
Original Message:
Sent: Mon October 16, 2023 12:42 PM
From: Bob Moores
Subject: Datacap get FileNet Doc Id
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
Original Message:
Sent: Mon October 16, 2023 03:16 AM
From: Shaun McDowall
Subject: Datacap get FileNet Doc Id
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
Original Message:
Sent: Thu October 12, 2023 02:48 PM
From: Bob Moores
Subject: Datacap get FileNet Doc Id
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
------------------------------