Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
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 use cases 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 Enigma  Model 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