Skip to main content

Execute

The Execute statement is used to run other programs while Qlik Sense is loading data. For example, to make conversions that are necessary.

Information noteThis statement is not supported in standard mode. See File system access restriction

Syntax:  

execute commandline

Arguments:  

Argument Description
commandline

A text that can be interpreted by the operating system as a command line. You can refer to an absolute file path or a lib:// folder path.

If you want to use Execute the following conditions need to be met:

  • You must run in legacy mode (applicable for Qlik Sense and Qlik Sense Desktop).
  • You need to set OverrideScriptSecurity to 1 in Settings.ini (applicable for Qlik Sense).

    Settings.ini is located in C:\ProgramData\Qlik\Sense\Engine\ and is generally an empty file.

Do the following:

  1. Make a copy of Settings.ini and open it in a text editor.
  2. Insert an empty line.
  3. Type OverrideScriptSecurity=1.
  4. Save the file.
  5. Substitute Settings.ini with your edited file.
Information noteIf Qlik Sense is running as a service, some commands may not behave as expected.

Example:  

Execute C:\Program Files\Office12\Excel.exe;

Execute lib://win\notepad.exe // win is a folder connection referring to c:\windows

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!