Skip to main content Skip to complementary content

on method

Information noteSTABLE.

This API is reliable and breaking changes are unlikely., callback)

Adds listeners for the app events. Multiple listeners can be added to an event.

Version history

Version history
Version state Details
Introduced Qlik Sense February 2018



Type: String

Name of the event. Can be:

  • error
  • warning
  • closed


Type: Function


Callback method. Registers a callback that is executed every time data is returned.


var app = qlik.openApp('2abac31e-3b46-4b78-8bxf-c5cea1d2514d', config);
app.on("error", function ( error ) {
  console.log("error listener called for app", error);
} );
app.on("warning", function ( warning ) {
  console.log("warning listener called for app", warning);
} );
app.on("closed", function ( closed ) {
  console.log("closed listener called for app", closed);
} );

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!