Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
yamat5
Contributor
Contributor

Defaults for scripts

When I create a new app, the loadscript is prefilled with a lot of defaults regarding date formats etc... Where do I alter these, so that any new application starts with different defaults?

Labels (1)
1 Reply
BrunPierre
Partner - Master
Partner - Master

In Qlik, to alter the defaults for new applications when creating a new app, you need to modify the default load script template. Here's how you can do it:

  1. Open Qlik Sense Desktop or Qlik Sense Enterprise, and navigate to the location where your Qlik Sense Desktop files are stored (usually in "C:\Users<your username>\Documents\Qlik\Sense\Apps").

  2. Locate the "DefaultDataLoadScript.txt" file. This file contains the default load script template used when creating a new app.

  3. Make a backup copy of the "DefaultDataLoadScript.txt" file, just in case something goes wrong during the modification process.

  4. Open the "DefaultDataLoadScript.txt" file with a text editor of your choice.

  5. Inside the file, you'll find the pre-filled default load script with various settings, including date formats and other configurations. Modify these settings as per your requirements. You can change date formats, add or remove default tables, and make any other necessary adjustments to suit your preferences.

  6. Save the modified "DefaultDataLoadScript.txt" file.

  7. The next time you create a new app in Qlik Sense, the default load script will use your modified settings as the starting point.

Remember that modifying the default load script template can have a significant impact on all new applications you create. Be cautious and ensure you understand the changes you are making to avoid potential issues. It's also a good idea to keep a backup of the original "DefaultDataLoadScript.txt" file in case you need to revert to the original defaults.