<?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: QlikSense .NET SDk: how to retrieve filtered data from a table? in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/QlikSense-NET-SDk-how-to-retrieve-filtered-data-from-a-table/m-p/1592649#M10779</link>
    <description>&lt;P&gt;Proxy uses ticket based authentication.&lt;/P&gt;</description>
    <pubDate>Mon, 17 Jun 2019 14:32:44 GMT</pubDate>
    <dc:creator>mel78</dc:creator>
    <dc:date>2019-06-17T14:32:44Z</dc:date>
    <item>
      <title>QlikSense .NET SDk: how to retrieve filtered data from a table?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QlikSense-NET-SDk-how-to-retrieve-filtered-data-from-a-table/m-p/1583381#M10611</link>
      <description>&lt;P&gt;I am using a QLIK table within a sheet. It has 20 records. The user filters the data now and it has 5 records now.&lt;/P&gt;&lt;P&gt;Can I use QLIK API from .net to get this 5 records? I am able to get 20 records using genericObject.GetHyperCubeData methods, but not sure it is possible to get filtered data?&lt;/P&gt;&lt;P&gt;If this is possible, can I get filtered data for any object (pivot-table, filter-pane etc) ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:46:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QlikSense-NET-SDk-how-to-retrieve-filtered-data-from-a-table/m-p/1583381#M10611</guid>
      <dc:creator>mel78</dc:creator>
      <dc:date>2024-11-16T05:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense .NET SDk: how to retrieve filtered data from a table?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QlikSense-NET-SDk-how-to-retrieve-filtered-data-from-a-table/m-p/1583756#M10619</link>
      <description>&lt;P&gt;Selections only exists with a session, so to make selections visible for your SDK access, you need to make sure you connect to that same session as the one the user was connected to when doing the filtering. This is a related thread here on Community that might be of interest to you:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Sense-Integration/NET-SDK-Sharing-session/m-p/1520370" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Sense-Integration/NET-SDK-Sharing-session/m-p/1520370&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;An example of how to connect to the session used by the Qlik Sense Client can be found in this comment:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Sense-Integration/NET-SDK-Sharing-session/m-p/1520370/highlight/true#M9698" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Sense-Integration/NET-SDK-Sharing-session/m-p/1520370/highlight/true#M9698&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 08:37:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QlikSense-NET-SDk-how-to-retrieve-filtered-data-from-a-table/m-p/1583756#M10619</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2019-05-23T08:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense .NET SDk: how to retrieve filtered data from a table?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QlikSense-NET-SDk-how-to-retrieve-filtered-data-from-a-table/m-p/1588705#M10712</link>
      <description>&lt;P&gt;I am able to connect to Qlik, but unable to see the same data that the user can see. Can you please guide me to any code sample that I see?&lt;/P&gt;&lt;P&gt;I tried using&amp;nbsp;AsNtlmUserViaProxy and&amp;nbsp;AsDirectConnection. I am also attempting setting cookies , but no success.&lt;/P&gt;&lt;P&gt;location.CustomUserCookies.Add("X-Qlik-Session-dev", "XXXXXX");&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2019 16:06:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QlikSense-NET-SDk-how-to-retrieve-filtered-data-from-a-table/m-p/1588705#M10712</guid>
      <dc:creator>mel78</dc:creator>
      <dc:date>2019-06-05T16:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense .NET SDk: how to retrieve filtered data from a table?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QlikSense-NET-SDk-how-to-retrieve-filtered-data-from-a-table/m-p/1589461#M10717</link>
      <description>&lt;P&gt;You'll have to connect through the proxy to be able to share session with the Qlik Sense client, so a direct connection won't work.&lt;/P&gt;
&lt;P&gt;If you post the code you use for doing the connection then perhaps we might be able to identify if there is anything missing.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2019 10:29:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QlikSense-NET-SDk-how-to-retrieve-filtered-data-from-a-table/m-p/1589461#M10717</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2019-06-07T10:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense .NET SDk: how to retrieve filtered data from a table?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QlikSense-NET-SDk-how-to-retrieve-filtered-data-from-a-table/m-p/1589665#M10719</link>
      <description>&lt;P&gt;See below the code I have.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to get rowCount = 21. But I am looking for rowCount = 3 because I applied the filters on a partcular field. This means that the .Net client is unable to share the same session as the web browser.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;private static ILocation SetupConnection()&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;_qlikSenseServerUri = new Uri("&lt;A href="https://qlik.myserver" target="_blank"&gt;https://qlik.myserver&lt;/A&gt;");&lt;/P&gt;&lt;P&gt;ILocation location = Location.FromUri(_qlikSenseServerUri);&lt;/P&gt;&lt;P&gt;location.AsNtlmUserViaProxy(true, null, false);&lt;/P&gt;&lt;P&gt;return location;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;private HttpResponseMessage GetQlikData(ILocation location)&lt;BR /&gt;{&lt;BR /&gt;try&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;IAppIdentifier appId = location.AppWithIdOrDefault("1786433e-8c76-4c24-a21d-2d51c9888ba0");&lt;BR /&gt;ISession session = Session.WithApp(appId, SessionType.Default);&lt;BR /&gt;IHub hub = LocationExtensions.Hub(location, session);&lt;BR /&gt;App app = hub.OpenApp(appId.AppId);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;var extendedCurrentSelection = app.GetExtendedCurrentSelection();&lt;BR /&gt;foreach (var field in extendedCurrentSelection.FieldNames)&lt;BR /&gt;{&lt;BR /&gt;Console.WriteLine("Field: " + field);&lt;BR /&gt;IEnumerable&amp;lt;NxDataPage&amp;gt; mypages = extendedCurrentSelection.GetSelectedData(field, new[]&lt;BR /&gt;{&lt;BR /&gt;extendedCurrentSelection.Size(field).AsPage(100)&lt;BR /&gt;});&lt;BR /&gt;foreach (var dataPage in mypages)&lt;BR /&gt;{&lt;BR /&gt;Console.WriteLine("Selected value : " + dataPage.AllCells().Select(cell =&amp;gt; cell.Text));&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;var objectList = app.GetObjects(new NxGetObjectOptions() { IncludeSessionObjects = true, Types = new List&amp;lt;string&amp;gt;() { "table" } });&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;var genericObject = app.GetGenericObject("YpBmJAY");&lt;/P&gt;&lt;P&gt;var cellsPage = new NxPage { Top = 0, Height = 100, Left = 0, Width = 100 };&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;IEnumerable&amp;lt;NxDataPage&amp;gt; pages = genericObject.GetHyperCubeData("/qHyperCubeDef", (new[] { cellsPage }));&lt;BR /&gt;var rows = pages.FirstOrDefault().Matrix;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;int rowCount = rows.Count();&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;catch (CommunicationErrorException cex)&lt;BR /&gt;{&lt;BR /&gt;Console.WriteLine("Can not connect to Qlik Sense instance, check that Qlik Sense is running." + Environment.NewLine + cex.Message);&lt;BR /&gt;}&lt;BR /&gt;catch (Exception ex)&lt;BR /&gt;{&lt;BR /&gt;Console.WriteLine("General error." + Environment.NewLine + ex.Message);&lt;BR /&gt;}&lt;BR /&gt;return null;&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2019 15:46:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QlikSense-NET-SDk-how-to-retrieve-filtered-data-from-a-table/m-p/1589665#M10719</guid>
      <dc:creator>mel78</dc:creator>
      <dc:date>2019-06-07T15:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense .NET SDk: how to retrieve filtered data from a table?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QlikSense-NET-SDk-how-to-retrieve-filtered-data-from-a-table/m-p/1590284#M10730</link>
      <description>&lt;P&gt;Are you using .Net Core or .Net Framework? I think there was an issues with the session setup in the .Net Core version that was fixed recently, so if you are using .Net Core then you might want to see if it works for you using .Net Framework. The fix should be out in the next release of the SDK.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 06:52:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QlikSense-NET-SDk-how-to-retrieve-filtered-data-from-a-table/m-p/1590284#M10730</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2019-06-11T06:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense .NET SDk: how to retrieve filtered data from a table?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QlikSense-NET-SDk-how-to-retrieve-filtered-data-from-a-table/m-p/1590662#M10738</link>
      <description>&lt;P&gt;I am using .Net framework not Core. Can you please review my code and see what I am missing?&amp;nbsp; It is always creating a new session and not use a existing one.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 20:28:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QlikSense-NET-SDk-how-to-retrieve-filtered-data-from-a-table/m-p/1590662#M10738</guid>
      <dc:creator>mel78</dc:creator>
      <dc:date>2019-06-11T20:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense .NET SDk: how to retrieve filtered data from a table?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QlikSense-NET-SDk-how-to-retrieve-filtered-data-from-a-table/m-p/1590738#M10740</link>
      <description>&lt;P&gt;I tried the code and (modifying the IDs obviously) it works just fine. I can see the selections I do in the client through those calls. The only error I saw in the code was that you are printing the cell rows enumerable directly instead of concatenating it into a string first, but I assume that is not the issue you are seeing.&lt;/P&gt;
&lt;P&gt;Are the selections you do in the client getting cleared when you run your program? Perhaps you have "extended security environment" enabled on your virtual proxy?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 06:06:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QlikSense-NET-SDk-how-to-retrieve-filtered-data-from-a-table/m-p/1590738#M10740</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2019-06-12T06:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense .NET SDk: how to retrieve filtered data from a table?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QlikSense-NET-SDk-how-to-retrieve-filtered-data-from-a-table/m-p/1591042#M10746</link>
      <description>&lt;P&gt;Are you using Google chrome? the selections still stay there and is not cleared.&amp;nbsp; I will check regarding "extended security environment"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 13:23:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QlikSense-NET-SDk-how-to-retrieve-filtered-data-from-a-table/m-p/1591042#M10746</guid>
      <dc:creator>mel78</dc:creator>
      <dc:date>2019-06-12T13:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense .NET SDk: how to retrieve filtered data from a table?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QlikSense-NET-SDk-how-to-retrieve-filtered-data-from-a-table/m-p/1591205#M10747</link>
      <description>&lt;P&gt;I checked. E&lt;SPAN&gt;xtended security environment is unchecked on the virtual proxy. Just to be clear. I am trying to make changes on the chrome web browser and see those same changes on the .net side.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 17:44:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QlikSense-NET-SDk-how-to-retrieve-filtered-data-from-a-table/m-p/1591205#M10747</guid>
      <dc:creator>mel78</dc:creator>
      <dc:date>2019-06-12T17:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense .NET SDk: how to retrieve filtered data from a table?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QlikSense-NET-SDk-how-to-retrieve-filtered-data-from-a-table/m-p/1592547#M10774</link>
      <description>&lt;P&gt;Hmm... Well, then I'm afraid I'm running out of ideas. What type of authentication are you using on the virtual proxy you are connecting to?&lt;/P&gt;
&lt;P&gt;And, yes, I've tried with Chrome.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2019 12:02:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QlikSense-NET-SDk-how-to-retrieve-filtered-data-from-a-table/m-p/1592547#M10774</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2019-06-17T12:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense .NET SDk: how to retrieve filtered data from a table?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QlikSense-NET-SDk-how-to-retrieve-filtered-data-from-a-table/m-p/1592649#M10779</link>
      <description>&lt;P&gt;Proxy uses ticket based authentication.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2019 14:32:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QlikSense-NET-SDk-how-to-retrieve-filtered-data-from-a-table/m-p/1592649#M10779</guid>
      <dc:creator>mel78</dc:creator>
      <dc:date>2019-06-17T14:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense .NET SDk: how to retrieve filtered data from a table?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QlikSense-NET-SDk-how-to-retrieve-filtered-data-from-a-table/m-p/1594277#M10808</link>
      <description>&lt;P&gt;What version of QLIK sense are you using ?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2019 17:02:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QlikSense-NET-SDk-how-to-retrieve-filtered-data-from-a-table/m-p/1594277#M10808</guid>
      <dc:creator>mel78</dc:creator>
      <dc:date>2019-06-20T17:02:49Z</dc:date>
    </item>
  </channel>
</rss>

