Using enigma.js in Qlik Sense

Warning: This feature is delivered as EXPERIMENTAL in this release.

This topic shows you how to evaluate enigma.js in Qlik Sense.

enigma.js is used by the Qlik Sense client, and opening the current app again might cause things to break. This code example can be used in both a mashup and in a visualization extension.

enigma.js is delivered as EXPERIMENTAL in this release, util and autogenerated/qix/engine-api used in the example below are unsupported modules.

define(['util', 'enigma', 'autogenerated/qix/engine-api'], function(Util, enigma, schema) {
  var cfg = {
    schema: schema,
    appId: 'app-to-open',
    session: {
      host: Util.hostname,
      port: Util.port || undefined,
      prefix: Util.basePath,
      unsecure: !Util.isSecure,
      reloadURI: Util.reloadURI
  enigma.getService('qix', cfg).then(function(qix) {;;
  }).catch(function(err) {
    console.log('Something went wrong', err);


Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?