Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Mauritz_SA
Partner - Specialist
Partner - Specialist

Get object data using REST API

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

@Levi_Turner  @rwunderlich 

6 Replies
Øystein_Kolsrud
Employee
Employee

You'll need to go through the engine API to get that type of information.

Mauritz_SA
Partner - Specialist
Partner - Specialist
Author

Hi @Øystein_Kolsrud 

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

Øystein_Kolsrud
Employee
Employee

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:

https://help.qlik.com/en-US/sense-developer/February2020/Subsystems/EngineAPI/Content/Sense_EngineAP...

Mauritz_SA
Partner - Specialist
Partner - Specialist
Author

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. 

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

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

Mauritz_SA
Partner - Specialist
Partner - Specialist
Author

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