Discussion board where members can get started with Qlik Sense.
I saved a script externally but when I try include, the script just skips over the line.
If I use must_include, i do not get an error.
I have not tried quotes or square brackets.
Go to Solution.
Here's what finally worked.
$(Include=[lib://FolderConnection\Subfolder under FolderConnection\Scripts\code.qvs]);
Try with the same script but in a .txt
Are your sure your are executing that line of code. Check if it might be omitted as a part of a If-statement or similar.
1) Specify an absolute file path,
example like lib:// folder connection. (i.e: Create new Connection - define your root folder of your script or .qvs file)
There are two versions of the variable:
Include does not generate an error if the file cannot be found, it will fail silently.
Must_Include generates an error if the file cannot be found.