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 advance smart parameter using encrypted value

    Posted Tue October 31, 2023 11:56 AM

    Hello all,

    I am trying to use an advance smart parameter in a custom action. How do I get the unencrypted value to be able to use it in my action? Trying to construct a connection string.

    Thanks,

    Bob



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


  • 2.  RE: Datacap advance smart parameter using encrypted value

    Posted Wed November 01, 2023 05:25 AM

    Hi Bob,

    This has been a bugbear of ours for a long time. There's currently no ootb way of decrypting values in a custom action (or if there is, I don't know about it!):

    https://www.ibm.com/support/pages/custom-code-unable-decrypt-encrypted-strings-ibm-datacap-taskmaster-capture

    I have opened a feature request here:

    https://dba.ideas.ibm.com/ideas/BACSD-I-149

    This is now marked for Future Consideration, and could probably be resolved by us writing a customisation but in 2023 I do feel that it should be in the core product.

    Community: if there is a way to achieve this in Datacap 9.1.9, please let us know.

    Many thanks,

    Shaun



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



  • 3.  RE: Datacap advance smart parameter using encrypted value

    Posted Wed November 01, 2023 11:43 AM

    Thanks Shaun for your reply,

    I was afraid that would be the answer. They give the ability to encrypt but not decrypt. I think that is the equivalent to a write only data field ;o). Their actions can decrypt it such as the FileNet export.

    Guess I will have to write my on encryption and add the decryption  in my action until they add this to the product.

    Thanks again for your information,

    Bob



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



  • 4.  RE: Datacap advance smart parameter using encrypted value

    Posted Thu November 02, 2023 01:38 PM
    Edited by Blue Devil Fri November 03, 2023 02:39 PM

    I am not sure if this will help.  To decrypt the connection string the decrption is store in the user profile.  It's per user RSA key value.
    https://www.ibm.com/support/pages/requirements-importing-encryption-keys-ibm-datacap-taskmaster-capture

    C:\Users\<user>\AppData\Roaming\Microsoft\Crypto\RSA\<userSID>

    When importing the dc_ktf.xml to each user, it places the decryption key in each user profile. 
    There is no way to pull the decryption key value in the app file and use some sort of tool to decrypt it. 



    ------------------------------
    Blue Devil
    ------------------------------