# Binary

Mit dem Befehl binary werden die Daten aus einer anderen Qlik Sense-App oder einem Dokument von QlikView einschließlich der Section Access-Daten geladen. Andere Elemente der App sind nicht inbegriffen, z. B. Arbeitsblätter, Stories, Visualisierungen, Master-Elemente oder Variablen.

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.

Syntax:

binary [path] filename

Argumente:

Arguments

| Argument | Description |
| --- | --- |
| path | 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.<br><br>[Arbeitsverzeichnis](https://help.qlik.com/de-DE/sense/November2024/Subsystems/Hub/Content/Sense_Hub/Scripting/working-directory.htm)<br><br>Beispiel: 'lib://Table Files/'<br><br>Im Legacymodus für die Skripterstellung werden die folgenden Pfadformate ebenfalls unterstützt:<br><br><ul> <li> <p>								absolute </p> <p><span><span>Beispiel: </span></span><span>c:\data\</span> </p> </li> <li> <p>relative to the  app containing this script line.</p> <p><span><span>Beispiel: </span></span><span>data\</span> </p> </li> </ul><br><br>[Zugriffsbeschränkung für Dateisystem](https://help.qlik.com/de-DE/sense/November2024/Subsystems/Hub/Content/Sense_Hub/LoadData/file-system-access-restriction.htm) |
| filename | The name of the file, including the file extension .qvw or .qvf. |

Beschränkungen:

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.

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptRegularStatements/Binary.htm)

#### Examples

| String | Description |
| --- | --- |
| `Binary lib://DataFolder/customer.qvw;` | In diesem Beispiel muss sich die Datei in der Datenverbindung Ordner befinden. Das kann beispielsweise ein Ordner sein, den Ihr Administrator auf dem Qlik Sense-Server erstellt. Klicken Sie im Dateneditor auf Neue Verbindung erstellen und wählen Sie unter Dateispeicherorte die Option Ordner aus. |
| `Binary customer.qvf;` | In this example, the file must be in located in the Qlik Sense working directory. |
| `Binary c:\qv\customer.qvw;` | This example using an absolute file path will only work in legacy scripting mode. |