Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!

How to import a Qlik Sense app with an automation

100% helpful (1/1)
cancel
Showing results for 
Search instead for 
Did you mean: 
Emile_Koslowski
Employee
Employee

How to import a Qlik Sense app with an automation

Last Update:

Sep 8, 2022 12:02:21 PM

Updated By:

Emile_Koslowski

Created date:

Mar 16, 2021 8:19:46 AM

This article describes how to import Qlik Sense apps by using an automation. There are 2 possible approaches:

  1. Import an app that's on the same tenant
  2. Import an app from an exported app file

1. Import an app that's on the same tenant

The difference between this approach and the Copy App block in the Qlik Cloud Services connector is that you can specify whether or not to include the data that's in the app. This can be done by setting the "No Data" parameter.

Example automation:

Emile_Koslowski_5-1662652894040.png

 

 

Blocks:

  1. Export App: This block will trigger an app export of a QCS app to a temporary file on the Qlik Temporary Content Service and output the Id of that temporary file. Choose whether you want to include the app's data by setting the "No Data" field to "true" or "false".
  2. Import App From Export Id: This block will import the file from the Temporary Content Service. Specify the File Id that was returned by the Export App block. Optionally, you can define other parameters like for example the name of the target app.

 

2. Import an app from an exported app file

Export app
This approach allows you to import an app from a file. First, use the Export App To Base 64 Encoded File block in combination with the Cloud Storage connector to create the file on any of the supported destinations. In the below example, Dropbox is used.

Emile_Koslowski_4-1662652832123.png

 

Import app
To import the file again, use the Open File & Read Data From File blocks from the Cloud Storage connector and use the output from the read block as input for the Import App From Base 64 Encoded File block from the Qlik Cloud Services connector. 

Emile_Koslowski_3-1662652742289.png

 

 

The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.

Labels (1)
Comments
JordyWegman
Partner - Master
Partner - Master

Hi Emile,

How would option 3 work the other way around? I would like to store a file on Dropbox (and possibly get it back). But I get failures like this: https://community.qlik.com/t5/Knowledge/Qlik-Cloud-Export-App-From-Managed-Space-Fails/ta-p/1914633, but even from my own work..

Jordy

Climber

Emile_Koslowski
Employee
Employee

Hi Jordy,

Can you try the following?

Emile_Koslowski_1-1653391810366.png

 

Please note that I'm not using the Dropbox connector here but the Cloud storage connector with the connector set to Dropbox. You'll need to store the QVF as a txt file (we're working on support for binary files).

If you get the same error as the one in that article then it probably means that your app is in a managed space. It's not possible to export published apps.

I hope this helps!

Kind regards,

Emile

BenLeroy_CMA
Contributor III
Contributor III

Hello Emile,

 

I have a problem when I want to apply option 2. 

BenLeroy_CMA_0-1662477551162.png

I don't have "datasources" menu available for those blocks

Do you have an idea what I missing ?

Regards.

 

Benoît.

 

 

Emile_Koslowski
Employee
Employee

Hi Benoît,

The screenshots in this article are a bit outdated. They come from the previous Blendr.io legacy product where it was possible to connect to any Qlik Sense tenant by using API keys.

In Qlik Application Automation you don't have to worry about this connection since it's always auto-connected to the tenant in which you're using it. 

I'll update the screenshots.

Kind regards,
Emile

BenLeroy_CMA
Contributor III
Contributor III

Hello, 

Thank you @Emile_Koslowski  for your answer.

Harsha-Lodha
Contributor III
Contributor III

 

@Emile_Koslowski Hey Emile, Can you also show how can we import an from .json file of qlik app. thank you!

Version history
Last update:
‎2022-09-08 12:02 PM
Updated by: