<?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: Field API SelectValues method check if result exist in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Field-API-SelectValues-method-check-if-result-exist/m-p/2484060#M21324</link>
    <description>&lt;P&gt;Okay so I have a data like this:&lt;BR /&gt;CustomerID, Quantity&lt;BR /&gt;CST1,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 35&lt;BR /&gt;CST1,&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; 12&lt;BR /&gt;CST100,&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; 35&lt;BR /&gt;CST30,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; 20&lt;/P&gt;
&lt;P&gt;customerID is mandatory and quantity is optional. I'm filtering like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;app.field(customerFilterID).selectValues(["CST1"], false);
app.field(quantityID).selectValues(["35"], false);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AKN_0-1727443651480.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/172267iFF43547A82EE211A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AKN_0-1727443651480.png" alt="AKN_0-1727443651480.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;shows a table that only has CST1 and 35 as Quantity, that's ok.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;app.field(customerFilterID).selectValues(["CST1"], false);
app.field(quantityID).selectValues(["20"], false);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AKN_1-1727443729878.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/172268iB7E6C632C1A456C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AKN_1-1727443729878.png" alt="AKN_1-1727443729878.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;shows a table that has CST30 which I didn't select, and 20 as Quantity, that's not ok.&lt;/P&gt;
&lt;P&gt;Toggling from false to true also didn't work.&lt;/P&gt;</description>
    <pubDate>Fri, 27 Sep 2024 13:35:02 GMT</pubDate>
    <dc:creator>AKN</dc:creator>
    <dc:date>2024-09-27T13:35:02Z</dc:date>
    <item>
      <title>Field API SelectValues method check if result exist</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Field-API-SelectValues-method-check-if-result-exist/m-p/2480966#M21230</link>
      <description>&lt;P&gt;I'm using Field API to filter some tables. However if the value I'm filtering doesn't exist it returns all of the results in the table. I want it to show a message like "no results" or whatever it doesn't matter. How can I achieve this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;app1.field("testFilterID").selectValues(["test"], false);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 09:59:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Field-API-SelectValues-method-check-if-result-exist/m-p/2480966#M21230</guid>
      <dc:creator>AKN</dc:creator>
      <dc:date>2024-09-11T09:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: Field API SelectValues method check if result exist</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Field-API-SelectValues-method-check-if-result-exist/m-p/2481513#M21241</link>
      <description>&lt;P&gt;Hey &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/260821"&gt;@AKN&lt;/a&gt;&lt;/SPAN&gt; , for achieve this you cannot directly use Field API, I've tested and there is no response for values not available. What you can do is to &lt;A href="https://community.qlik.com/t5/Integration-Extension-APIs/Get-all-the-Possbile-values-of-a-Field-in-QlikSense-Extension/m-p/2001298/highlight/true#M17515" target="_blank"&gt;create a listbox&lt;/A&gt; using Engine APIs, search your value into the list box data using &lt;A href="https://help.qlik.com/en-US/sense-developer/May2024/Subsystems/EngineJSONAPI/Content/service-genericobject-searchlistobjectfor.htm" target="_blank"&gt;SearchListObjectFor &lt;/A&gt;Engine API method, perform GetLayout method and check if your ListBox has values. This allows you to check if the value exists in all field values.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 13:25:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Field-API-SelectValues-method-check-if-result-exist/m-p/2481513#M21241</guid>
      <dc:creator>alex_colombo</dc:creator>
      <dc:date>2024-09-13T13:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Field API SelectValues method check if result exist</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Field-API-SelectValues-method-check-if-result-exist/m-p/2481529#M21243</link>
      <description>&lt;P&gt;Thanks! I will look into it.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 14:15:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Field-API-SelectValues-method-check-if-result-exist/m-p/2481529#M21243</guid>
      <dc:creator>AKN</dc:creator>
      <dc:date>2024-09-13T14:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: Field API SelectValues method check if result exist</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Field-API-SelectValues-method-check-if-result-exist/m-p/2484060#M21324</link>
      <description>&lt;P&gt;Okay so I have a data like this:&lt;BR /&gt;CustomerID, Quantity&lt;BR /&gt;CST1,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 35&lt;BR /&gt;CST1,&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; 12&lt;BR /&gt;CST100,&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; 35&lt;BR /&gt;CST30,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; 20&lt;/P&gt;
&lt;P&gt;customerID is mandatory and quantity is optional. I'm filtering like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;app.field(customerFilterID).selectValues(["CST1"], false);
app.field(quantityID).selectValues(["35"], false);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AKN_0-1727443651480.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/172267iFF43547A82EE211A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AKN_0-1727443651480.png" alt="AKN_0-1727443651480.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;shows a table that only has CST1 and 35 as Quantity, that's ok.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;app.field(customerFilterID).selectValues(["CST1"], false);
app.field(quantityID).selectValues(["20"], false);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AKN_1-1727443729878.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/172268iB7E6C632C1A456C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AKN_1-1727443729878.png" alt="AKN_1-1727443729878.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;shows a table that has CST30 which I didn't select, and 20 as Quantity, that's not ok.&lt;/P&gt;
&lt;P&gt;Toggling from false to true also didn't work.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 13:35:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Field-API-SelectValues-method-check-if-result-exist/m-p/2484060#M21324</guid>
      <dc:creator>AKN</dc:creator>
      <dc:date>2024-09-27T13:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Field API SelectValues method check if result exist</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Field-API-SelectValues-method-check-if-result-exist/m-p/2484637#M21341</link>
      <description>&lt;P&gt;This is kind of important so any help is appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 12:24:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Field-API-SelectValues-method-check-if-result-exist/m-p/2484637#M21341</guid>
      <dc:creator>AKN</dc:creator>
      <dc:date>2024-10-01T12:24:51Z</dc:date>
    </item>
  </channel>
</rss>

