<?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 .NET API Qlik Sense GetPossibleValues in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/NET-API-Qlik-Sense-GetPossibleValues/m-p/1288991#M7103</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In QlikView there used to be methods such as "GetPossibleValues" and "GetAllValues" etc on a field. How can I achieve the same thing with Qlik Sense? I know that the IField interface carries methods to select possible values etc but I just want to get an array of values, not actually select them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea where to start?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bernd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Mar 2017 18:03:17 GMT</pubDate>
    <dc:creator>berndpodhradsky</dc:creator>
    <dc:date>2017-03-14T18:03:17Z</dc:date>
    <item>
      <title>.NET API Qlik Sense GetPossibleValues</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/NET-API-Qlik-Sense-GetPossibleValues/m-p/1288991#M7103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In QlikView there used to be methods such as "GetPossibleValues" and "GetAllValues" etc on a field. How can I achieve the same thing with Qlik Sense? I know that the IField interface carries methods to select possible values etc but I just want to get an array of values, not actually select them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea where to start?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bernd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Mar 2017 18:03:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/NET-API-Qlik-Sense-GetPossibleValues/m-p/1288991#M7103</guid>
      <dc:creator>berndpodhradsky</dc:creator>
      <dc:date>2017-03-14T18:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: .NET API Qlik Sense GetPossibleValues</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/NET-API-Qlik-Sense-GetPossibleValues/m-p/1288992#M7104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the typical way to do that would be to go through an AppField instance. It provides you with methods like &lt;A href="http://help.qlik.com/en-US/sense-developer/3.2/apis/net%20sdk/html/M_Qlik_Sense_Client_AppField_GetExcluded.htm" title="http://help.qlik.com/en-US/sense-developer/3.2/apis/net%20sdk/html/M_Qlik_Sense_Client_AppField_GetExcluded.htm"&gt;AppField.GetExcluded&lt;/A&gt;‌ and &lt;A href="http://help.qlik.com/en-US/sense-developer/3.2/apis/net%20sdk/html/M_Qlik_Sense_Client_AppField_GetOptional.htm" title="http://help.qlik.com/en-US/sense-developer/3.2/apis/net%20sdk/html/M_Qlik_Sense_Client_AppField_GetOptional.htm"&gt;AppField.GetOptional&lt;/A&gt;. I'm not sure about the the semantics of "GetPossibleValues" in QlikView, but I think GetOptional would be what you want (possibly combined with &lt;A href="http://help.qlik.com/en-US/sense-developer/3.2/apis/net%20sdk/html/M_Qlik_Sense_Client_AppField_GetSelected.htm" title="http://help.qlik.com/en-US/sense-developer/3.2/apis/net%20sdk/html/M_Qlik_Sense_Client_AppField_GetSelected.htm"&gt;AppField.GetSelected&lt;/A&gt;‌.AppFields are constructed from the App through this method: &lt;A href="http://help.qlik.com/en-US/sense-developer/3.2/apis/net%20sdk/html/M_Qlik_Sense_Client_AppExtensions_GetAppField.htm" title="http://help.qlik.com/en-US/sense-developer/3.2/apis/net%20sdk/html/M_Qlik_Sense_Client_AppExtensions_GetAppField.htm"&gt;AppExtensions.GetAppField&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An example could look something like this:&lt;/P&gt;&lt;PRE __default_attr="c#" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14895609499975691" jivemacro_uid="_14895609499975691" modifiedtitle="true"&gt;
&lt;P&gt;var countryField = app.GetAppField("Country");&lt;/P&gt;
&lt;P&gt;var page = new NxPage(){ Height=20, Width=1, Top=0, Left=0 };&lt;/P&gt;
&lt;P&gt;var selectedCountries = countryField.GetSelected(page);&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2017 07:31:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/NET-API-Qlik-Sense-GetPossibleValues/m-p/1288992#M7104</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2017-03-15T07:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: .NET API Qlik Sense GetPossibleValues</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/NET-API-Qlik-Sense-GetPossibleValues/m-p/1288993#M7105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for pointing me in the right direction - now works perfectly fine, great! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 00:26:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/NET-API-Qlik-Sense-GetPossibleValues/m-p/1288993#M7105</guid>
      <dc:creator>berndpodhradsky</dc:creator>
      <dc:date>2017-03-31T00:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: .NET API Qlik Sense GetPossibleValues</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/NET-API-Qlik-Sense-GetPossibleValues/m-p/1288994#M7106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Again, thanks for giving me that hint - could you please have a look at the following thread, where I have another question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/255457"&gt;Total Cells via GetData&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bernd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Apr 2017 11:55:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/NET-API-Qlik-Sense-GetPossibleValues/m-p/1288994#M7106</guid>
      <dc:creator>berndpodhradsky</dc:creator>
      <dc:date>2017-04-14T11:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: .NET API Qlik Sense GetPossibleValues</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/NET-API-Qlik-Sense-GetPossibleValues/m-p/1288995#M7107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Done! I just posted an answer on that thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Apr 2017 11:32:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/NET-API-Qlik-Sense-GetPossibleValues/m-p/1288995#M7107</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2017-04-18T11:32:56Z</dc:date>
    </item>
  </channel>
</rss>

