<?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: Refresh Hypercube based on selections in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Refresh-Hypercube-based-on-selections/m-p/2112713#M19112</link>
    <description>&lt;P&gt;Depending on what APIs you are using, it might be that you need to hook into the an "onChanged" event. Whenever selections are made, the engine will return a set of change notifications that indicate which objects need to be refreshed. For Enigma.js you have this event:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Design/Dissecting-the-Engine-API-Part-5-Multiple-Hypercube-Dimensions/ba-p/1841618" target="_blank"&gt;https://community.qlik.com/t5/Design/Dissecting-the-Engine-API-Part-5-Multiple-Hypercube-Dimensions/ba-p/1841618&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you are not receiving any change notifications for your KPI object, then it might be that your KPI and the field selector are some how connected to different engine sessions.&lt;/P&gt;
&lt;P&gt;More low level information on the engine API can be fond in this series of blog posts:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Design/Dissecting-the-Engine-API-Part-5-Multiple-Hypercube-Dimensions/ba-p/1841618" target="_blank"&gt;https://community.qlik.com/t5/Design/Dissecting-the-Engine-API-Part-5-Multiple-Hypercube-Dimensions/ba-p/1841618&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;This post describes the concepts of handles and change notifications:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Design/Let-s-Dissect-the-Qlik-Engine-API-Part-2-Handles/ba-p/1737186" target="_blank"&gt;https://community.qlik.com/t5/Design/Let-s-Dissect-the-Qlik-Engine-API-Part-2-Handles/ba-p/1737186&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Sep 2023 05:47:02 GMT</pubDate>
    <dc:creator>Øystein_Kolsrud</dc:creator>
    <dc:date>2023-09-04T05:47:02Z</dc:date>
    <item>
      <title>Refresh Hypercube based on selections</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Refresh-Hypercube-based-on-selections/m-p/2112629#M19110</link>
      <description>&lt;P&gt;Dear Team&lt;/P&gt;
&lt;P&gt;I have connected to a hypercube from an app and retrieved a value from a field into an KPI object num(sum(Sales),'#,##0') in a mashup (Qlik Sense SaaS). I have also have a field selector where the user can make selections but when the user makes selections the value in the KPI does not change. I believe there must be a callback function on selection to refresh the hypercube. Any advice would be appreciated.&lt;/P&gt;
&lt;P&gt;I have also had a look at &lt;A href="https://glitch.com/" target="_self"&gt;Glitch&lt;/A&gt;. If someone has an simple example, please could you share.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Amandeep&lt;/P&gt;</description>
      <pubDate>Sun, 03 Sep 2023 10:19:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Refresh-Hypercube-based-on-selections/m-p/2112629#M19110</guid>
      <dc:creator>amandeep_dhak</dc:creator>
      <dc:date>2023-09-03T10:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Hypercube based on selections</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Refresh-Hypercube-based-on-selections/m-p/2112713#M19112</link>
      <description>&lt;P&gt;Depending on what APIs you are using, it might be that you need to hook into the an "onChanged" event. Whenever selections are made, the engine will return a set of change notifications that indicate which objects need to be refreshed. For Enigma.js you have this event:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Design/Dissecting-the-Engine-API-Part-5-Multiple-Hypercube-Dimensions/ba-p/1841618" target="_blank"&gt;https://community.qlik.com/t5/Design/Dissecting-the-Engine-API-Part-5-Multiple-Hypercube-Dimensions/ba-p/1841618&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you are not receiving any change notifications for your KPI object, then it might be that your KPI and the field selector are some how connected to different engine sessions.&lt;/P&gt;
&lt;P&gt;More low level information on the engine API can be fond in this series of blog posts:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Design/Dissecting-the-Engine-API-Part-5-Multiple-Hypercube-Dimensions/ba-p/1841618" target="_blank"&gt;https://community.qlik.com/t5/Design/Dissecting-the-Engine-API-Part-5-Multiple-Hypercube-Dimensions/ba-p/1841618&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;This post describes the concepts of handles and change notifications:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Design/Let-s-Dissect-the-Qlik-Engine-API-Part-2-Handles/ba-p/1737186" target="_blank"&gt;https://community.qlik.com/t5/Design/Let-s-Dissect-the-Qlik-Engine-API-Part-2-Handles/ba-p/1737186&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 05:47:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Refresh-Hypercube-based-on-selections/m-p/2112713#M19112</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2023-09-04T05:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Hypercube based on selections</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Refresh-Hypercube-based-on-selections/m-p/2112831#M19114</link>
      <description>&lt;P&gt;Hi Mate&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your reply. I am currently using Qlik's Capability API. From your posts, would I need to switch to enigma or can it be done via the Capability API?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Amandeep&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 11:52:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Refresh-Hypercube-based-on-selections/m-p/2112831#M19114</guid>
      <dc:creator>amandeep_dhak</dc:creator>
      <dc:date>2023-09-04T11:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Hypercube based on selections</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Refresh-Hypercube-based-on-selections/m-p/2112879#M19118</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/142855"&gt;@amandeep_dhak&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Depending on the method you are using - but assuming that you are using the createCube as an example, you should be able to register listeners or trigger getLayout() on the returned model.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;I recommend you to just explore, in debug mode/console, the returned promised value from the methods you use in capability APIs and then check for the enigmaModel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hope this helps&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 13:13:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Refresh-Hypercube-based-on-selections/m-p/2112879#M19118</guid>
      <dc:creator>Aiham_Azmeh</dc:creator>
      <dc:date>2023-09-04T13:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Hypercube based on selections</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Refresh-Hypercube-based-on-selections/m-p/2113709#M19134</link>
      <description>&lt;P&gt;Is there a simple example which you don't mind sharing? I don't need the App, I just need the JS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Amandeep&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 13:24:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Refresh-Hypercube-based-on-selections/m-p/2113709#M19134</guid>
      <dc:creator>amandeep_dhak</dc:creator>
      <dc:date>2023-09-05T13:24:48Z</dc:date>
    </item>
  </channel>
</rss>

