Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi everyone,
I am working with Qlik sense .Net SDK. I am using AsExistingSessionViaProxy() method to authenticate user. After authentication i fetch list of App to display in drop-down control.
Scenario of Issue: Suppose a user has open an app in web browser. and I open same app form my code using same userid then i get an error pop up saying connection lost.
Pop up display when i call this function: location.App(appIdentifier)
Code sample:
location.AsExistingSessionViaProxy(sessionId, "X-Qlik-Session", certificateValidation: false);
var appIdentifier = location.AppWithId(appId);
using (IApp app = location.App(appIdentifier)) //Pop up display when this line execute.
{
list = app.GetSheetList().Items.ToList();
}
Please help.....
I am not particularly familiar with that type of connection, but there is an example available that utilizes AsExistingSessionViaProxy. Perhaps that can provide some clues as to what is wrong? You can find the example here:
https://github.com/AptkQlik/PublicExamples/blob/master/ConnectServerTicketAttach/Program.cs
Best regards, Øystein Kolsrud
Thank you yko for your reply.
Link is not working
Sorry, wrong link... I have updated it now.