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

Automation structure
The following steps describe how to build the demo automation:
- 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.
- 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.
- 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.

- 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.

- 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

Automation structure
The following steps describe how to build the demo automation:
- 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.

- Add the 'Read Data From File' block from the Amazon S3 connector to read the data from the file opened in the previous step.
- 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