You seems to be using
old browser.

To get the most our of #!% please visit us from one of the following browsers.

menu

Services

menu

Solutions

menu

Unified Data Platform

menu

Airport

menu

Consumer Packaged Goods

menu

Retail

menu

Financial Services

menu

Automotive

menu

HR Analytics

menu

Partnerships

menu

Company

menu

About Us

menu

Partnerships

menu

Resources

menu

CSR

menu

Contact Us

Blogs

Unleashing the Power of Qlik-CLI:

By admin, Dec 14, 2023

Introduction

Qlik-CLI, a command line interface for Qlik Sense SaaS and Qlik Sense Windows, can be a real game-changer in the realm of Qlik analytics. This tool provides access to public APIs through the command line, offering a seamless experience for scripting and automating workflows. From app management to tenant administration, let’s explores the diverse capabilities of Qlik-CLI in this comprehensive guide.

In this guide, we delve into the essential steps to harness the full potential of Qlik-CLI, covering the installation and configuration of the tool, its integration with PowerShell, and practical use cases for optimized solutions.

Configuring Qlik-CLI with the Tenant

Configuring Qlik-CLI is the first stride toward streamlining app backup and restore processes. Follow these steps:

Install the qlik.exe zip file from GitHub.
Extract the contents and copy the executable to a local directory.

Add Qlik-CLI as an Environment Variable Path, linking it to PowerShell.

Confirm the successful installation by executing the command Get-Command qlik in PowerShell.

With Qlik-CLI seamlessly integrated, users can initiate and manage analytics operations with ease.

Connecting Qlik SaaS Tenant Using API Key

To establish a connection between Qlik SaaS Tenant and Qlik-CLI, the creation of an API key is crucial. Follow these steps:

Generate a new API key in the Profile Settings of your Hub.

Copy the generated API key.

Execute the following commands in PowerShell:

Enter the tenant URL and paste the API key.

Now, Qlik SaaS tenant is configured and linked with Qlik-CLI, opening avenues for seamless operations.

Backup a Single App in Managed Space

For organizations focused on securing specific applications in Managed Spaces, GainInsights Solutions provides the App_Backup_SingleApp.ps1 PowerShell script. Customizable to user preferences, this script automates the backup process. Follow the provided script structure and schedule the process in Task Scheduler for a hands-free experience.

Backup All Apps in Managed Space

Expanding the scope, the App_Backup.ps1 PowerShell script automates the backup process for all applications in all Managed Spaces. The script dynamically creates folders based on the backup date, ensuring organized storage. Users can effortlessly schedule this script, reducing manual intervention and ensuring comprehensive data security.

Restore Applications to Shared and Managed Space

In scenarios requiring the restoration of applications to both Shared and Managed Spaces, GainInsights Solutions offers the App_Restore.ps1 PowerShell script. The script intelligently handles Space IDs and application paths, simplifying the restoration process. After a successful run, restored applications can be reloaded and scheduled in Managed Spaces for continued operations.

Restore Applications to Managed Space Only

For those focusing on Managed Spaces exclusively, the App_Restore_MS.ps1 PowerShell script facilitates the restoration process. With manual entry of App ID and Managed Space ID, the script recreates applications seamlessly. This script ensures that the restored application integrates public and community sheets, delivering a holistic solution.

Troubleshooting

In case of the ‘qlik’ recognition error, users can reinstall and reconfigure Qlik-CLI with the tenant, ensuring a smooth connection. The API key, copied during the connection process, may be required.

Usage

Automating the backup of Managed Space applications with this process ensures quick restoration in case of deletions. Key points to remember include the automated nature of the backup process, user-friendly scripts, and the flexibility to restore applications based on specific requirements.

This comprehensive guide equips organizations with the knowledge and tools needed to maximize the potential of Qlik-CLI, ensuring a seamless and secure data analytics journey.

In conclusion, the integration of Qlik-CLI into the fabric of Qlik Sense SaaS operations proves to be a transformative journey. From the initial configuration steps to the automation of backup and restoration processes, GainInsights has driven the path to enhanced efficiency and data security across aorganizations. By seamlessly connecting PowerShell with Qlik-CLI, organizations can not only streamline their workflows but also ensure the continuity of critical analytics operations.

Contact us or write toinfo@gain-insights.com to explore a hands-on session or for quick discussion of your requirements.

RECENT POSTS

Looking to connect with us?

Start a conversation