<?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 Unable to select on field - Pending state in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-select-on-field-Pending-state/m-p/1810644#M14990</link>
    <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've ran into a very strange issue that I need help with, as I see no logical explanation for this behaviour after many hours of investigation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My sheet has two extensions on it, both are textareas with buttons to make field selections based on user input.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Both extensions use similar dimensions.&lt;/P&gt;&lt;P&gt;Extension #1 allows the user to select on field "ID" and "Name", depending on the input.&lt;/P&gt;&lt;P&gt;Extension #2 allows the user to select on a hidden "%CId" field, and to do that, it does multiple selections based on different fields, and clears them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I do a search using Extension #2 first, and then attempt to do a search using Extension #1 using "Name" selection, it does not work, it is meant to clear the "Name" field, and then make a selection on it. Surprisingly, the same Extension #1 when used to select on the "ID" field works as expected.&lt;BR /&gt;&lt;BR /&gt;A plot twist:&lt;BR /&gt;If I do a search using Extension #1 first, using "Name" field, it select correctly, I am then able to clear the selection, use Extension #2 to make selections as expected, and then Extension #1 will work as expected for both "Name" and "ID" fields.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did some debugging, the app object in the extension contains a growing list of "Pending" objects for that "Name" field:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="krilk_1-1622019333009.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/55720i55255C661117D838/image-size/medium?v=v2&amp;amp;px=400" role="button" title="krilk_1-1622019333009.png" alt="krilk_1-1622019333009.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This only happens if Extension #2 is being used first. I did check and the Extension #2 is cleaning up after itself properly, there are no fields selected, I did try to use app.clearAll() before attempting Extension #1 testing also.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;</description>
    <pubDate>Fri, 13 Aug 2021 18:44:03 GMT</pubDate>
    <dc:creator>krilk</dc:creator>
    <dc:date>2021-08-13T18:44:03Z</dc:date>
    <item>
      <title>Unable to select on field - Pending state</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-select-on-field-Pending-state/m-p/1810644#M14990</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've ran into a very strange issue that I need help with, as I see no logical explanation for this behaviour after many hours of investigation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My sheet has two extensions on it, both are textareas with buttons to make field selections based on user input.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Both extensions use similar dimensions.&lt;/P&gt;&lt;P&gt;Extension #1 allows the user to select on field "ID" and "Name", depending on the input.&lt;/P&gt;&lt;P&gt;Extension #2 allows the user to select on a hidden "%CId" field, and to do that, it does multiple selections based on different fields, and clears them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I do a search using Extension #2 first, and then attempt to do a search using Extension #1 using "Name" selection, it does not work, it is meant to clear the "Name" field, and then make a selection on it. Surprisingly, the same Extension #1 when used to select on the "ID" field works as expected.&lt;BR /&gt;&lt;BR /&gt;A plot twist:&lt;BR /&gt;If I do a search using Extension #1 first, using "Name" field, it select correctly, I am then able to clear the selection, use Extension #2 to make selections as expected, and then Extension #1 will work as expected for both "Name" and "ID" fields.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did some debugging, the app object in the extension contains a growing list of "Pending" objects for that "Name" field:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="krilk_1-1622019333009.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/55720i55255C661117D838/image-size/medium?v=v2&amp;amp;px=400" role="button" title="krilk_1-1622019333009.png" alt="krilk_1-1622019333009.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This only happens if Extension #2 is being used first. I did check and the Extension #2 is cleaning up after itself properly, there are no fields selected, I did try to use app.clearAll() before attempting Extension #1 testing also.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 18:44:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-select-on-field-Pending-state/m-p/1810644#M14990</guid>
      <dc:creator>krilk</dc:creator>
      <dc:date>2021-08-13T18:44:03Z</dc:date>
    </item>
  </channel>
</rss>

