<?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 SDK] Perform selection on ListBox and reload barcharts/combocharts data in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/NET-SDK-Perform-selection-on-ListBox-and-reload-barcharts/m-p/2422988#M95849</link>
    <description>&lt;P&gt;The listbox is a visual object that represents a field. What you want to do is interact directly with the Field, not the Listbox. For example:&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;var field = appConnector.GetField("myfield");
field.Select("foo");&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Rob&lt;/P&gt;</description>
    <pubDate>Fri, 23 Feb 2024 15:12:55 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2024-02-23T15:12:55Z</dc:date>
    <item>
      <title>[.NET SDK] Perform selection on ListBox and reload barcharts/combocharts data</title>
      <link>https://community.qlik.com/t5/App-Development/NET-SDK-Perform-selection-on-ListBox-and-reload-barcharts/m-p/2422911#M95847</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I'm fairly new to Qlik and I'm building a .NET application that connects to a Qlik sheet and is suppoused to extract underlying data from barcharts/combocharts. I'm able to pull the data from the charts via HyperCubePages however the sheet itself has several listbox objects that filter the data displayed on charts - want I want to achieve is to apply the filters (listbox selections) and retrieve the data from the charts.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;var uri = new Uri("myQlikInstanceUri");
var location = Location.FromUri(uri);
location.AsNtlmUserViaProxy();

using var hub = location.Hub();
var appIdentifier = hub.GetAppList().First(x =&amp;gt; x.AppName = "MyAppName");

var appConnector = location.App(appIdentifier.AppId);

var sheet = appConnector.GetSheets().First(x =&amp;gt; x.Id == "mySheetGuid");

var listBox = sheet.GetChild("listBoxGuid") = as Listbox;

// Retrieve listbox possible values
foreach (var listboxItem = listbox.GetAllListObjectPagers())
{
  var data = listboxItem.GetAllData();
  foreach (var dataItem in data)
  {
    // get possible listbox values
  }
}

// How to apply value selection to ListBox to apply filtering on barcharts/combocharts?


&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd be greatful if anybody had any experience with it and would like&amp;nbsp;to share &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 12:53:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/NET-SDK-Perform-selection-on-ListBox-and-reload-barcharts/m-p/2422911#M95847</guid>
      <dc:creator>DanPe</dc:creator>
      <dc:date>2024-02-23T12:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: [.NET SDK] Perform selection on ListBox and reload barcharts/combocharts data</title>
      <link>https://community.qlik.com/t5/App-Development/NET-SDK-Perform-selection-on-ListBox-and-reload-barcharts/m-p/2422988#M95849</link>
      <description>&lt;P&gt;The listbox is a visual object that represents a field. What you want to do is interact directly with the Field, not the Listbox. For example:&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;var field = appConnector.GetField("myfield");
field.Select("foo");&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 15:12:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/NET-SDK-Perform-selection-on-ListBox-and-reload-barcharts/m-p/2422988#M95849</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2024-02-23T15:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: [.NET SDK] Perform selection on ListBox and reload barcharts/combocharts data</title>
      <link>https://community.qlik.com/t5/App-Development/NET-SDK-Perform-selection-on-ListBox-and-reload-barcharts/m-p/2423012#M95851</link>
      <description>&lt;P&gt;Thank you, exactly what I've needed&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 15:59:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/NET-SDK-Perform-selection-on-ListBox-and-reload-barcharts/m-p/2423012#M95851</guid>
      <dc:creator>DanPe</dc:creator>
      <dc:date>2024-02-23T15:59:16Z</dc:date>
    </item>
  </channel>
</rss>

