Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Use Qlik Engine API within an extension or custom component

Hello,

Is it possible to use Qlik Engine API methods in an extension or a custom component. My understanding is that those include App API, Capability APIs .... but not the methods listed under Qlik Engine API. Is that correct ?

An alternative would be using enigma.js but I can't figure out how to use it

I tried this from the Qlik help but it doesn't work (Qlik Sense Desktop):

define(['util', 'enigma', 'autogenerated/qix/engine-api'], function(Util, enigma, schema) {

  var cfg = {

    schema: schema,

    session: {

      host: localhost,

      port: 4848,

      unsecure: true

    }

  };

  enigma.getService('qix', cfg);

});

Any Ideas ?

Thanks,

AMIamaAMI

1 Reply
ErikWetterberg

Hi,

If you need methods not included in capabilities API, the best way is to use enigmajs. I have described how to do this in a blog post:

https://extendingqlik.upper88.com/using-enigmajs-in-your-qlik-sense-extension/

Erik Wetterberg