Visual Basic script variables - Manage Documents - Foundation 24.1 - Foundation 24.1 - Ready - Perceptive Content - external - Perceptive-Content/Manage-Documents/Foundation-24.1/Manage-Documents/Manage-Capture/Application-Plans/Visual-Basic/Visual-Basic-script-variables - 2024-04-02 - Below is a list of variables you can use in your Visual Basic scripts.

Manage Documents

Platform
Perceptive Content
Product
Manage Documents
Release
Foundation 24.1
License

Below is a list of variables you can use in your Visual Basic scripts.

The Test button in the script editor does not always produce valid results when using these functions. To test your code, try saving the template, closing the application plan, and then clicking on the icon in the Perceptive Content toolbar to view the results.

Note: In previous versions of Perceptive Content, you used Folder and Tab. In Perceptive Content 6.7, these supported document key variables changed to Field1 and Field2. While Folder and Tab are currently supported, they may be deprecated in future versions.
Document key variables
Drawer
DocName
Field1
Field2
Field3
Field4
Field5
DocType
Post-macro document key variables
PostDrawer
PostDocName
PostField1
PostField2
PostField3
PostField4
PostField5
PostDocType
Other variables
User - Logged in user name
Group - Logged in user group name
AppPlan - Name of the current application
Reserved variables
WorkingValue - Sets the current dictionary element to the desired value. This can also be used to get the current dictionary element.
ScreenFound - The default for this value is FALSE. The script sets the value to TRUE if the screen is found. If FALSE, the next available screen is used.