Troubleshooting
Problem
Custom actions cannot decrypt built-in Taskmaster secure values from the .app file, like database connection strings, passwords, or Advanced Values. For example, MetaWord, when called on @APPVAR(*/lookupdb:cs) returns the secured string [secured]011da7544c0b852139730dd582683b8c82a80466dfcd817[/secured]. Custom actions cannot decrypt the secured string.
Cause
The .NET action template provides access to the dcSmart object. One of the methods available in this class is MetaWord. MetaWord takes a string as a parameter and returns a string. MetaWord allows your custom actions to accept smart parameters. Passing a parameter string to MetaWord resolves any smart parameters in your input string. It also returns the result that can be processed by your C# code. If the input parameter does not contain any smart parameters, it returns the original input string.
Resolving The Problem
- Open up Taskmaster Application Manager.
- Copy <application>.app.lock file to desktop.
- Close Taskmaster Application Manager.
- Move <application>.app.lock to c:\Datacap\<application>\
- Edit c:\Datacap\<application>\<application>.app
Change custom encrypted strings to plain text values. - Save.
- Close file.
- Modify <application>.app and <application>.app.lock to only allow modify for Datacap administrators; verify other users and service accounts have only "Read & execute" and "Read".
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg21700131