A user configuration script is a load script (.qvs) file that contains user-defined variables that specify paths for the Profile directory, files to scan, Server and Publisher log files, QlikView Repository (QVRP) paths, and other values specified on the Configuration sheet.
User configuration scripts make it possible to use a single Governance Dashboard profile in different deployment environments. Variations in the directory locations can be altered by supplying different copies of the external load script. It is also possible to include logic in the script to detect the environment and set the variables accordingly.
The script syntax is:
LET vInputProfilePath = ;
LET vInputFilePath = ;
LET vInputServerPath = ;
LET vInputPublisherPath = ;
LET vInputQVPRPath = ;
LET vInputMonthsOfHistory = ;
LET vInputDaysOfHeatmapHIstory = ;
The script's file name is specified in the field that appears when User Configuration Script is turned on. If the file is in the default location (C:\ProgramData\QlikTech\Documents\) you can enter the name of the file only. If it is not in the default location, you must enter the full path.
When the scan profile is reloaded, the external script is executed and referenced variables are expanded accordingly.