Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi there, I'm pretty new to the Qlik Sense development through APIs and I'm trying to build a session app (from another app) by means of the Engine JSON API.
The question is: how the web page shown to the user has to be built? I'll try to follow the official tutorial, but it calls the API from the browser.
Or is it sufficient to redirect the user to an URL built with the ID of the session app (if any)?
Thanks
I'll formulate it again.
How can session apps created through Engine API be used by users?
If the user is creating the session app then its easy:
If we are talking about some backend service to create the session app (on behalf of the user) and then the user to access this app then the things are quite complex. The complexity comes because the backend service should actually connect to the exactly the same engine session to which the user is connected through the browser. Once the backend is connected to the same engine session then it will create the session app and when the reload is complete it will report back to the mashup with the session app id and the mashup then can open the prepared session app and do the rest.
Thank you @stefanstoichev123 , at this stage I would go for the most straightforward solution.
Provided that I am already able to run some enigma code through NodeJS command line interface to create and reload a session app (from another ap), I'm having trouble showing its content to users. How do I display the objects in the app? Is there a specific URL? I tried building a URL with the session app ID in place of the original app ID, but the the App Overview does not get shown.
Maybe what you are trying to tell me (and I apologize if I'm not getting the point) is that I should let the browser execute the enigma code (some how), instead of using NodeJS command line interface. Am I right?
Thanks