The binary statement is used for loading the data from another Qlik Sense app or QlikView document, including section access data. Other elements of the app are not included, for example, sheets, stories, visualizations, master items or variables.
Only one binary statement is allowed in the script. The binary statement must be the first statement of the script, even before the SET statements usually located at the beginning of the script.
binary [path] filename
The path to the file which should be a reference to a folder data connection. This is required if the file is not located in the Qlik Sense working directory.
Example: 'lib://Table Files/'
In legacy scripting mode, the following path formats are also supported:
The name of the file, including the file extension .qvw or .qvf.
You cannot use binary to load data from an app on the same Qlik Sense Enterprise deployment by referring to the app ID. You can only load from a .qvf file.
In this example, the file must be in located in the Folder data connection. This may be, for example, a folder that your administrator creates on the Qlik Sense server. Click Create new connection in the data load editor and then select Folder under File locations.
|In this example, the file must be in located in the Qlik Sense working directory.|
|This example using an absolute file path will only work in legacy scripting mode.|