Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
mdbender
Contributor II
Contributor II

How to get apps list from stream id in Qlik Sense Extension?

Hi,

I have this JS code - Get Qlik stream applications - JSFiddle

In console i catch error - "TypeError: qlikApp.getStreamList is not a function". I try qlik.getStreamList() result was the same.

4 Replies
ErikWetterberg

Hi,

You cannot get streams from the Engine API, you need to use the QRS API.

Some endpoints to try are /qrs/stream and /qrs/app, or possibly /qrs/stream/full (to get more data) and /qrs/app/full.

If you have qlik.js loaded you can use the callRepository method for this.

Erik Wetterberg

https://extendingqlik.upper88.com/

mdbender
Contributor II
Contributor II
Author

Thanks, Erik!

But can I get another apps from the stream in which I'm working?

How to start using QRS API? I never work with it. Is it available to work in extensions?

ErikWetterberg

If you are using the qlik module the callRepository method is available.

Erik Wetterberg

https://extendingqlik.upper88.com/

mdbender
Contributor II
Contributor II
Author

Can u show example of how it is working?