<?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: selectionState API not updating on time in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/selectionState-API-not-updating-on-time/m-p/1720241#M12915</link>
    <description>&lt;P&gt;Thanks a lot &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; now it works, the data binding part was missing.&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jun 2020 06:46:13 GMT</pubDate>
    <dc:creator>Madeleine</dc:creator>
    <dc:date>2020-06-19T06:46:13Z</dc:date>
    <item>
      <title>selectionState API not updating on time</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/selectionState-API-not-updating-on-time/m-p/1718695#M12898</link>
      <description>Hi, I implemented a Mashup. The underlying Qlik Sense App uses alternate States. I want to display the selections. As far as I know the getList method for the SelectionObject doesn't give me the data for alternative states, that's why I'm using the selectionState method(app.selectionState(alternatestate).selections). The problem is that the output isn't updating on time. For example when I do a selection in field A then the selections aren't updating. Then I select something in another field and my selection list shows the selections for field A. The new selections aren't displayed. I implemented a function in the controller to get the selection. Have I implemented the function at the wrong place or is there another method to get the selections for alternate states?</description>
      <pubDate>Mon, 15 Jun 2020 06:38:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/selectionState-API-not-updating-on-time/m-p/1718695#M12898</guid>
      <dc:creator>Madeleine</dc:creator>
      <dc:date>2020-06-15T06:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: selectionState API not updating on time</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/selectionState-API-not-updating-on-time/m-p/1718701#M12899</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/91333"&gt;@Madeleine&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Are you binding a listener? ex:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const selState = app.selectionState(alternateState);
const listener = function() {
  console.log(selState);
};
selState.OnData.bind( listener ); //bind the listener&lt;/LI-CODE&gt;&lt;P&gt;Could you post a code snippet so we can better understand the issue?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2020 07:13:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/selectionState-API-not-updating-on-time/m-p/1718701#M12899</guid>
      <dc:creator>Aiham_Azmeh</dc:creator>
      <dc:date>2020-06-15T07:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: selectionState API not updating on time</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/selectionState-API-not-updating-on-time/m-p/1720241#M12915</link>
      <description>&lt;P&gt;Thanks a lot &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; now it works, the data binding part was missing.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2020 06:46:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/selectionState-API-not-updating-on-time/m-p/1720241#M12915</guid>
      <dc:creator>Madeleine</dc:creator>
      <dc:date>2020-06-19T06:46:13Z</dc:date>
    </item>
  </channel>
</rss>

