Qlik Community

Ask a Question

Integration, Extension & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

Announcements
Support Cases coming to Qlik Community Oct. 4! Start chats, open cases, explore resources: READ DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
daniellw
Partner
Partner

.NET-API: Accessing session with specific identity

Hello,

to identify different sessions of the same app, qlik sense supports the "identity" parameter, e.g. "https://localhost4848/app/app_id/sheet/sheet_id/state/analysis/identity/1"

as mentioned here: https://community.qlik.com/t5/Qlik-Design-Blog/Qlik-Sense-URL-quot-hacks-quot/ba-p/1475676

Unfortunatly i haven't found any .net api method to determine a session with specific identity.

Is it possible to access such a session using the qlik sense .net api? If yes, a short example would be greatly appreciated. 🙂

Thank you and best regards

Daniel

Labels (2)
1 Solution

Accepted Solutions
yko
Employee
Employee

Hi! There's no way to list the existing sessions used, but if you want to connect to a known session, then you should define the token as part of the Session instance when connection. That token goes into the identity part, so if you want to connect to an app using the identity "1", then you could do like this:

using (var app = location.App(appId, Session.WithApp(appId, "1")))
{
    DoStuff();
}

 

View solution in original post

1 Reply
yko
Employee
Employee

Hi! There's no way to list the existing sessions used, but if you want to connect to a known session, then you should define the token as part of the Session instance when connection. That token goes into the identity part, so if you want to connect to an app using the identity "1", then you could do like this:

using (var app = location.App(appId, Session.WithApp(appId, "1")))
{
    DoStuff();
}

 

View solution in original post