Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi everyone
I was wondering whether anyone knows how I can possibly get the value of a KPI object in a Qlik Sense sheet using a REST API? I have certificates to make calls to the Qlik server, but not sure where to go from there. I know NPrinting can get the existing Qlik Sense object information by using certificates to connect, but at the moment it is pretty much black magic to me. Ideally I would like to use a KPI object’s ID in an API request to Qlik and get the value of that object as a returned value. If anyone is able to give me some pointers, I would greatly appreciate it.
Stay safe!
Regards,
Mauritz
You'll need to go through the engine API to get that type of information.
Thanks very much for the reply. Do you have any steps or documentation that can help with that? And will it eventually be possible to get the information using REST (even if there are some added steps)?
Regards,
Mauritz
No, you won't be able to get this information through REST. The engine API is based on websockets. The exact steps for doing such accesses will depend on what technology you use (javascript or C# are the most common languages I guess). Examples on how to connect to Qlik Sense using C# can be found here:
https://github.com/AptkQlik/PublicExamples
But you should probably read up a little on the engine API in general if you want to move in that direction. Information can be found here:
Thanks @Øystein_Kolsrud . I'll have a look and see what I can put together. I'll keep this thread open in case someone has any more suggestions.
You could do this with a custom connector. For example https://github.com/q2g/q2g-con-hypercube-qvx
Or such a function could be added to this SSE https://github.com/RobWunderlich/qcb-qlik-sse
-Rob
Hi @rwunderlich
Thanks for the suggestion. I am very eager to start exploring SSEs for Python integration and will definitely check this out.
Regards,
Mauritz