Skip to main content

Integration, Extension & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

Announcements
QlikWorld 2023, a live, in-person thrill ride. April 17 - 20, 2023, in Las Vegas! REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
pamaxeed
Partner - Creator III
Partner - Creator III

Engine API

Hi guys,

I need some clarifications. We have a mashup solution which is using the Capability API's to display some nice visualizations. Now we have some usecases where we need do some stuff like Sharing, Cloning, Updating Bookmark and so on, where we have to interact directly with the Engine.

My questions:

  1. What is the best approach here for communicating with the Engine ?
    • We made a PoC by using the EnigmaModel which is not supported and documented. Therefore we have to use another approach here.
    •  Importing the enigma.js directly in our mashup solution would have some impacts as well or ?
      - Creating a new session and Websocket connection 
      - New Authentication required
      - How we can include the enigma.js wrapper library without making things complicated?
    • Communicating directly via the engine API without any wrapper library which is a bit a pain. How you can achieve that in a mashup solution. Is there any examples of triggering RPC calls in a mashup. What is the starting point here if want triggers calls in the mashup itself which is alread using the capability API's.
    • What is the engineApp property? Is this property supported?


      const def =
      {
      "jsonrpc": "2.0",
      "id": 2,
      "method": "GetBookmark",
      "handle": 1,
      "params": [
      scope2
      ]
      }

      const engineApp = app.model.engineApp;

      engineApp.getBookmark(scope2).then((o)=> {
      console.log(o);
      });
      });

Labels (5)
0 Replies