Early Access: The content on this website is provided for informational purposes only in connection with pre-General Availability Qlik Products.
All content is subject to change and is provided without warranty.
Skip to main content Skip to complementary content

Managing scripts

Once you have created a script, you may want to fine-tune it to make it easier and more efficient to use for yourself and others.

What you can do with a script depends on the type of space where the script is located. In your personal space, you can manage your own scripts. In a shared space, depending on your permissions in that space, you can manage both your own scripts and the scripts of other users. In managed spaces, there are fewer options for managing scripts as access is more governed. For more information about spaces, see Working in spaces.

Depending on the space, you can:

Moving scripts

You can move scripts between shared spaces as well as between a shared space and a personal space.

If you create a script in a shared space, the data connections related to it will stay in that space, even if the script moves. You will either need to add connections in the new space or use space-aware connections to reference the data connections in the original space.

For example, you create a script called SalesPrep in the Data Team shared space. If you move SalesPrep to a different shared space, the data connections will remain in the Data Team shared space.

If the data needs to be edited or reloaded, it must be done by a user with Can edit or Can edit data in apps roles in the Data Team shared space. The same would apply if you created a script in a personal space and moved it to a shared space.

If you move a script with a reload schedule between spaces, the reload schedule is deleted. Recreate the schedule in the new space if required.

  1. Click Move on the script and select Move.
  2. Select the new space from Space.
  3. To open the new space, select Navigate to space.
  4. Click Move.

If you are a Qlik Cloud tenant admin or analytics admin, you can move scripts between spaces in the Administration activity center. Scripts can be moved between shared spaces, between a shared space and a personal space, or between managed spaces. For information about these administrator privileges, see Changing space of scripts.

Editing script details

You can change the titles and descriptions of your scripts. Click More on the script that you want to edit and then select Rename. You can also change the tags used with the script. Tags are used to group scripts with related scripts and apps. Tags are shared in the Qlik Cloud Analytics activity centers, but you can only see tags that you have created yourself or that are used with apps and scripts to which you have access.

Duplicating scripts

You can duplicate any script you have access to by clicking More on the script and then selecting Duplicate. The duplicate can be modified.

Duplicating scripts has several uses. For example, you can copy a script to use it as a template. You can also duplicate script as a form of version control, and store older ones a space created for archival purposes.

Duplicated scripts keep the original data sources. If you did not create the original data sources used in the script or if they are not available in the space, you will have to recreate data sources in the script.

Viewing lineage

Lineage tracks data and data transformation backwards from the script to its original sources. This provides an interactive representation of the history of this flow to your script. For more information on lineage, see Analyzing lineage for apps, scripts, and datasets.

  • Click Move on the script and select Lineage.

Viewing impact analysis

Impact analysis shows the downstream dependencies of script outputs. It answers questions about what other apps, scripts, or other resources would be directly or indirectly impacted by changes to the script. For more information on impact analysis, see Analyzing impact analysis for apps, scripts, and datasets.

  • Click Move on the script and select Impact analysis.

Exporting scripts

You can export scripts from the Analytics activity center as QVF files. These can be uploaded into other Qlik Cloud Analytics tenants or Qlik Sense versions.

The exported script is saved in the default download folder of your web browser.

Information note

Exported scripts can be imported into Qlik Sense Desktop or Qlik Sense Enterprise on Windows, however they are converted into apps.

  • Click More on the script you want to export and select Export.

Converting scripts to apps

You can convert scripts into apps. Converting duplicates the script and then converts it into an app. Converted apps use the script's load script as the app's load script.

  1. Click More on the script you want to export and select Duplicate and convert to analytics app.
  2. Click Confirm.

Deleting scripts

  1. Click More on the script you want to delete and select Delete.
  2. Click Delete.

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!