Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

Examples: Trigger a Qlik Sense task externally

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

Examples: Trigger a Qlik Sense task externally

Last Update:

Jul 7, 2022 6:52:36 AM

Updated By:

Sonja_Bauernfeind

Created date:

Sep 13, 2018 12:46:46 AM

Can Qlik Sense tasks be triggered from an external program?

Note: The information in this article is provided as is. The solutions documented will require additional customization and ongoing support and modifications are not provided by Qlik Support. For tips and tricks and examples on advanced Qlik Sense implementations, join our active Qlik Community.

Through API calls

Any technology that can consume REST web services can connect to the Qlik Sense Repository Service (QRS) API. Each request must:

  • be authenticated
  • include the Xrfkey parameter and header to prevent cross-site scripting attacks


The steps are:

  • Get app id from QMC
  • Build the API request from the App ID and API calls (example below)
  • Use the POST method to run it

Note: For details, see

The request API path including Xrfkey will have the format below:

https://qlikserver1.domain.local:4242/qrs/app/<app  id>/reload?Xrfkey=iX83QmNlvu87yyAB

Example using Postman: 

https://qlikserver1.domain.local:4242/qrs/app/3662543a-59b4-4963-b3c6-4405efb110c4/reload?Xrfkey=iX83QmNlvu87yyAB 

Postman_56254.png

 

Mashup example

Using a Qlik Sense Mashup: https://extendingqlik.upper88.com/run-a-reload-from-a-qlik-sense-mashup/

Using Qlik-Cli

As available on Qlik Branch: https://developer.qlik.com/garden/58b83eb68bc22ec70e8788f3

Using PowerShell

Utilizing the Qlik Sense APIs and PowerShell.
Example: https://wilsonmar.github.io/powershell-rest-api/

 

Environment:

Qlik Sense Enterprise on Windows , all versions


 

Labels (2)
Comments
TusharDev_Qlik
Creator II
Creator II

Hi @Lisa_Sun ,

we have a requirement where we are trying to connect to QlikSense enterprise windows environment from  linux server to trigger QMC task from that server externally. Please provide steps to authenticate and connect to Qliksense server.

 

Sonja_Bauernfeind
Digital Support
Digital Support

Hello @TusharDev_Qlik 

We recommend posting this question in our relevant forum: Integration, Extension & APIs.

TusharDev_Qlik
Creator II
Creator II

@Sonja_Bauernfeind I have posted the question under Data Integration Forum now.

 

  •  

 

RajaDumpa
Contributor III
Contributor III

@TusharDev_Qlik  : I am unable to find your post in the forum. Can you Provide a direct URL for your post. Appreciate your help. 

Version history
Last update:
‎2022-07-07 06:52 AM
Updated by: