<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: .NET-API: disconnect, selection in sheets in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/NET-API-disconnect-selection-in-sheets/m-p/1783486#M13859</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/134754"&gt;@daniellw&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My point is that disconnecting the .NET API connection will not help solving your issue, as there is a licensing limitation that you can only open 5 sessions within a 5 minutes time interval, so even if you close all sessions, you would still need to wait until you can open a new one and perform new API calls.&lt;/P&gt;&lt;P&gt;You should purchase a core-based license if you want to get rid of that limitation, or restructure your code to reuse the same session.&lt;/P&gt;&lt;P&gt;You can read here a bit how sessions are counted:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Qlik-Sense-Deployment-Management/Qlik-sense-concurrent-sessions/td-p/1626903" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Sense-Deployment-Management/Qlik-sense-concurrent-sessions/td-p/1626903&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Feb 2021 15:36:26 GMT</pubDate>
    <dc:creator>Damien_V</dc:creator>
    <dc:date>2021-02-17T15:36:26Z</dc:date>
    <item>
      <title>.NET-API: disconnect, selection in sheets</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/NET-API-disconnect-selection-in-sheets/m-p/1780789#M13805</link>
      <description>&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;i'm using the qlik sense .net api to connect to an existing/open qlik sense app and change the current selection. This works essentially, but i have two issues/questions regarding to it:&lt;/P&gt;&lt;P&gt;1. How can i explicitly disconnect the connection from the .net api to the qlik sense server? Is it possible somehow? I ran into the problem, that when connecting multiple times in a short period of time (like a few minutes or so), i'm getting the error of too many parallel session connections.&lt;/P&gt;&lt;P&gt;The dispose-methods obviously do not disconnect, as the problem remains when calling them.&lt;/P&gt;&lt;P&gt;2. Our qlik sense app contains different sheets. I would like to change the selection of specific sheets, but i only found the .net api for change the selection of an entire app. Is it possible to change the selection of a specific sheet, e.g. when working with two different sheets of the same app in two browser tabs?&lt;/P&gt;&lt;P&gt;Here is an example how i use the .net-api at the moment for selection (sso for login):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;qLoc = Qlik.Engine.Location.FromUri("https://qsserver/hub:443");
qLoc.AsNtlmUserViaProxyAsync(true, null, false).Wait();
qAppId = Qlik.Engine.LocationExtensions.AppWithId(qLoc, "guid", true);
qSession = Qlik.Engine.Session.WithApp(qAppId, Qlik.Engine.SessionType.Default);
qApp = Qlik.Engine.LocationExtensions.App(qLoc, qAppId, qSession, true, false);

qField = qApp.GetField("fieldname", "");
qField.Clear();
qField.Select("value", true, 0);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you and best regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:39:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/NET-API-disconnect-selection-in-sheets/m-p/1780789#M13805</guid>
      <dc:creator>daniellw</dc:creator>
      <dc:date>2024-11-16T00:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: .NET-API: disconnect, selection in sheets</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/NET-API-disconnect-selection-in-sheets/m-p/1781879#M13819</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/134754"&gt;@daniellw&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. This is a license limitation, you can only open up to 5 sessions in a 5 minutes time interval, so even if you were to close the app, you would still need to wait 5 minutes after it's closed to open a new session and perform further actions.&lt;/P&gt;&lt;P&gt;This limitation does not apply to Qlik Analytics Platform (QAP) and other core-based licenses.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. You would need to do it as two different identities OR switch all objects on the other sheet to a different alternate state.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 07:59:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/NET-API-disconnect-selection-in-sheets/m-p/1781879#M13819</guid>
      <dc:creator>Damien_V</dc:creator>
      <dc:date>2021-02-11T07:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: .NET-API: disconnect, selection in sheets</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/NET-API-disconnect-selection-in-sheets/m-p/1783463#M13858</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/29425"&gt;@Damien_V&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for your answer. If i got you right, there is no method to disconnect a .NET-API connection/session explicitly?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 14:18:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/NET-API-disconnect-selection-in-sheets/m-p/1783463#M13858</guid>
      <dc:creator>daniellw</dc:creator>
      <dc:date>2021-02-17T14:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: .NET-API: disconnect, selection in sheets</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/NET-API-disconnect-selection-in-sheets/m-p/1783486#M13859</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/134754"&gt;@daniellw&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My point is that disconnecting the .NET API connection will not help solving your issue, as there is a licensing limitation that you can only open 5 sessions within a 5 minutes time interval, so even if you close all sessions, you would still need to wait until you can open a new one and perform new API calls.&lt;/P&gt;&lt;P&gt;You should purchase a core-based license if you want to get rid of that limitation, or restructure your code to reuse the same session.&lt;/P&gt;&lt;P&gt;You can read here a bit how sessions are counted:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Qlik-Sense-Deployment-Management/Qlik-sense-concurrent-sessions/td-p/1626903" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Sense-Deployment-Management/Qlik-sense-concurrent-sessions/td-p/1626903&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 15:36:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/NET-API-disconnect-selection-in-sheets/m-p/1783486#M13859</guid>
      <dc:creator>Damien_V</dc:creator>
      <dc:date>2021-02-17T15:36:26Z</dc:date>
    </item>
  </channel>
</rss>

