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: 
Not applicable

Qlik Sense .NET SDK. How can I access all apps not just the apps I own?

I am trying to get a list of all apps using the .NET SDK.  I connected successfully, however I am able to see apps in my stream (apps I own) not apps in other streams. Why is that and how can I overcome that limitation.

2 Replies
Not applicable
Author

Hi Ashok,

There are two different ways to get the list.

1) If you use engine API using Ntlm connection, then you are restricted to to your profile rights defined in QMC.

You can change user type by using

var EngineLocation = Qlik.Engine.Location.FromUri(uri);

EngineLocation.AsDirectConnection => To specify another account

EngineLocation.AsStaticHeaderUserViaProxy => By sending headers

https://help.qlik.com/en-US/sense-developer/2.2/Subsystems/NetSDKAPI/Content/Introduction/Net-Sdk-Co...

2) I personally use Repository API, it is equivalent to QMC console instead of Engine / HUB.

Here is how to connect :

https://help.qlik.com/en-US/sense-developer/2.2/Subsystems/RepositoryServiceAPI/Content/RepositorySe...

And the request to retrieve all apps :

GET /qrs/app/full/?X-Qlik-Xrfkey=0123456789abcdef

Repository API gives access to all the QMC, users, nodes, rules etc, it works with HTTP requests and can need some time to setup.

Engine API gives access to apps, content and data, it is wrapped into the SDK and ready to use.

Ghislain Ferréol

Not applicable
Author

Hi,

To be able to access all apps you need to have read privilege to App_* and Stream_* .

For more description see http://help.qlik.com/en-US/sense/2.2/Subsystems/ManagementConsole/Content/create-security-rules.htm

Best regrads

Lars-Göran Book