Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry

How to export a Qlik Sense app without data to an Amazon S3 bucket and import an app from a file on Amazon S3

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
AfeefaTk
Support
Support

How to export a Qlik Sense app without data to an Amazon S3 bucket and import an app from a file on Amazon S3

Last Update:

Nov 12, 2024 9:39:20 AM

Updated By:

Sonja_Bauernfeind

Created date:

Nov 12, 2024 9:33:09 AM

Attachments

This article provides an overview of how to export a Qlik Sense app without data to an Amazon S3 bucket and import it back to the Qlik Cloud tenant from the file on Amazon S3 using Qlik Application Automation.

The template is available on the template picker. You can find it by navigating to Add new -> New automation -> Search templates, searching for 'Scheduled app export to an Amazon S3 bucket (without data)' or 'Import an app from a file on Amazon S3' in the search bar, and clicking the Use template option.

You can download examples of the automations from this article: Scheduled-app-export-to-an-Amazon-S3-bucket.json, Import-an-app-from-a-file-on-Amazon-S3.json.

Content:

 

Export Qlik Sense app without data to Amazon S3 bucket

Full Automation

Full Amazon S3 bucket export automation.png

Automation structure

The following steps describe how to build the demo automation: 

  1. Add the 'Get App Information' block from the Qlik Cloud Services connector to retrieve the app information. This is later used to create the file in Amazon S3.

  2. Add the 'Export App To Base64 Encoded File' block from the Qlik Cloud Services connector to export the app to a base64-encoded string. The app is always exported without data.

  3. Add the 'Create File' block from the Amazon S3 connector to create a file in the S3 bucket. The file will contain the app's base64-encoded string in .txt format. The file name is given as the app name retrieved from the 'Get App Information' block output in Step 1, along with the current date specified in the path parameter. Configure all the other mandatory input parameters.

    Create File on Amazon.png

  4. Add the 'Write Line To File' block from the Amazon S3 connector to write the base64 encoded content from Step 2 to the above-created file in the S3 bucket. The Data input parameter is mapped to the output from the 'Export App To Base64 Encoded File' block.

    write line to file on amazon s3.png

  5. Add the 'Save And Close File' block from the Amazon S3 connector to make the file available in the S3 bucket.

Import an app from a file on Amazon S3

Full Automation

full automation import to Amaonz S3 bucket automation.png

Automation structure

The following steps describe how to build the demo automation: 

  1. Add the 'Open File' block from the Amazon S3 connector to open the file on S3 that contains the base64 export of the app. Configure all the mandatory input parameters.

    open file on amazon s3.png

  2. Add the 'Read Data From File' block from the Amazon S3 connector to read the data from the file opened in the previous step.

  3. Add the 'Import App From Base64 Encoded File' block from the Qlik Cloud Services connector to create a new app in your Qlik Cloud tenant.

 

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

 

Related Content

Environment

Labels (1)
Version history
Last update:
‎2024-11-12 09:39 AM
Updated by: