Edit CL_EXT script with path variables via UVC

Document ID : KB000084668
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
Popup in UVC:
################
External script couldn't be found (make sure that the file is accessible from the node where this Uproc resides)
################

Patch level detected:Univiewer Console 6.3.00
Product Version: Dollar.Universe 6.x

When using a variable in the path to an external script, the script cannot be edited from the Univiewer Console.

(For example:
$EXT_PATH/MY_SCRIPT or %EXT_PATH%\MY_SCRIPT)
Environment:
OS: All
OS Version: N/A
Cause:
Cause type:
Configuration
Root Cause: The variable is not loaded when the Univiewer Console accesses the node.
Resolution:
When the external variable that points to the path is added to values.xml of the Dollar Universe node, its value will be available in UVC, this can be done with the following commands:

For Unix:
$UNI_DIR_EXEC/unisetvar -hidden EXT_PATH "/tmp/scriptdir"
or Windows:
%UNI_DIR_EXEC%\unisetvar -hidden EXT_PATH "C:\temp\scriptdir"

Here, EXT_PATH represents the variable (without $ or %), its value follows in double quotes and indicates a directory.
Each path variable has to be added separately.

ATTENTION:  The command "unisetvar -hidden" is not supported. This means that a variable that is added to values.xml using this command is not protected. 
For example, during the upgrade of a node. As a consequence, the added variable could possibly be lost and would have to be added again
.

IMPORTANT: the node needs to be restarted in order to take into account these new variables.
 

Fix Status: No Fix

Fix Version(s):
N/A
Additional Information:
Workaround :
Edit locally the script on the system where the node is running