<?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: How to cancel creation of a HyperCube? in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-cancel-creation-of-a-HyperCube/m-p/1825537#M15330</link>
    <description>&lt;P&gt;There are &lt;A href="http://Edited%20to add: There are methods in the .Net API to abory    https://help.qlik.com/en-US/sense-developer/May2021/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Hub.AbortAll.htm" target="_self"&gt;methods in the .Net API&lt;/A&gt; to abort requests, but is there anything similar in the JavaScript APIs?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Jul 2021 14:49:14 GMT</pubDate>
    <dc:creator>Paul_McGovern</dc:creator>
    <dc:date>2021-07-29T14:49:14Z</dc:date>
    <item>
      <title>How to cancel creation of a HyperCube?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-cancel-creation-of-a-HyperCube/m-p/1825512#M15329</link>
      <description>&lt;P&gt;I am writing a Qlik Sense extension that creates HyperCubes to generate buckets for histograms using the &lt;STRONG&gt;CLASS&lt;/STRONG&gt; function. It works without issue using&amp;nbsp;&lt;STRONG&gt;createCube()&lt;/STRONG&gt; and an expression using &lt;STRONG&gt;CLASS&lt;/STRONG&gt; for the value of &lt;STRONG&gt;qFieldDefs&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;The problem I have is that some of the data sets number in the tens of millions of records, and the call to &lt;STRONG&gt;createCube()&lt;/STRONG&gt; can take as long as 30 seconds to return. It appears a selection cannot be applied to the given field until after the cube is created. This delay is problematic, and I would like to abort the creation of the HyperCube before applying the selection to the field.&lt;/P&gt;&lt;P&gt;The call to &lt;STRONG&gt;createCube()&lt;/STRONG&gt; returns an object with a single member, &lt;STRONG&gt;state&lt;/STRONG&gt;, which is set to &lt;STRONG&gt;0&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;destroySessionObject()&lt;/STRONG&gt; can be used to delete an existing HyperCube, but it requires an object ID. The ID is available in the handler passed to &lt;STRONG&gt;createCube()&lt;/STRONG&gt;, but this function only gets called &lt;STRONG&gt;after&lt;/STRONG&gt; the cube has been created.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to cancel the creation of a HyperCube?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jul 2021 13:39:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-cancel-creation-of-a-HyperCube/m-p/1825512#M15329</guid>
      <dc:creator>Paul_McGovern</dc:creator>
      <dc:date>2021-07-29T13:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to cancel creation of a HyperCube?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-cancel-creation-of-a-HyperCube/m-p/1825537#M15330</link>
      <description>&lt;P&gt;There are &lt;A href="http://Edited%20to add: There are methods in the .Net API to abory    https://help.qlik.com/en-US/sense-developer/May2021/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Hub.AbortAll.htm" target="_self"&gt;methods in the .Net API&lt;/A&gt; to abort requests, but is there anything similar in the JavaScript APIs?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jul 2021 14:49:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-cancel-creation-of-a-HyperCube/m-p/1825537#M15330</guid>
      <dc:creator>Paul_McGovern</dc:creator>
      <dc:date>2021-07-29T14:49:14Z</dc:date>
    </item>
  </channel>
</rss>

