Skip to main content Skip to complementary content

Loading data into Qlik Sense

This section describes how to load data into your Qlik Sense application, which is done by executing load scripts.

The load script connects a Qlik Sense app to a data source and loads data form the data source into the Qlik Sense app. When you have loaded the data it is available to the app for analysis.

Getting a new script

You can get a new, empty script with localized information

Example: Get a new empty script with localized information

            string localizationScript = application.GetEmptyScript();

Creating a custom script

You can create a new custom script from scratch.

Example: Creating a new custom script from scratch

            string newScript = localizationScript + "LOAD RowNo() AS value, 1 AS myDimension AUTOGENERATE 300;";

Setting a script

After you have gotten your script or created a new script, you can set the current Qlik Sense application script.

Example: Set the current Qlik Sense application script

            application.SetScript(newScript);

Getting the current application script

You can get the current script stored in the application.

Example: Get the current script stored in the Qlik Sense app

            string currentScript = application.GetScript();

Loading data

After the script has been set, you must reload the data by executing the current application script.

Example: Reload script

            var didReload = application.DoReload();

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!