<?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: Export data from Pivot Table in a mashup in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Export-data-from-Pivot-Table-in-a-mashup/m-p/1947491#M16982</link>
    <description>&lt;P&gt;I've found out that my &lt;STRONG&gt;exportData()&lt;/STRONG&gt; request has different &lt;STRONG&gt;handle&lt;/STRONG&gt; from other this table requests, like pagination.&lt;/P&gt;
&lt;P&gt;I get a model using Capability API's &lt;STRONG&gt;getObject()&lt;/STRONG&gt; method. Then I use the model to make an &lt;STRONG&gt;exportData()&lt;/STRONG&gt; request.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;const model = await application.getObject('htmlId', 'tableId';)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;model.exportData(options);&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;This request has handle (&lt;STRONG&gt;54&lt;/STRONG&gt;) and it ends with an error. As you can see on the image, the pagination request has another handle (&lt;STRONG&gt;59&lt;/STRONG&gt;).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="blink_1-1655996197445.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/82515i4F960BE519E3AE7C/image-size/large?v=v2&amp;amp;px=999" role="button" title="blink_1-1655996197445.png" alt="blink_1-1655996197445.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;All other charts and tables in the mashup works fine, I can export data. But I can't do it for "&lt;STRONG&gt;&lt;EM&gt;VizlibPivotTable&lt;/EM&gt;&lt;/STRONG&gt;". Any ideas why is&amp;nbsp;this happening?&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jun 2022 14:57:40 GMT</pubDate>
    <dc:creator>blink</dc:creator>
    <dc:date>2022-06-23T14:57:40Z</dc:date>
    <item>
      <title>Export data from Pivot Table in a mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Export-data-from-Pivot-Table-in-a-mashup/m-p/1946879#M16969</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm building a Qlik Sense mashup. The mashup has several tables ("&lt;STRONG&gt;&lt;EM&gt;VizlibTable&lt;/EM&gt;&lt;/STRONG&gt;" and&amp;nbsp; "&lt;STRONG&gt;&lt;EM&gt;VizlibPivotTable&lt;/EM&gt;&lt;/STRONG&gt;").&lt;/P&gt;
&lt;P&gt;I'm using a Capability API's &lt;EM&gt;&lt;STRONG&gt;exportData&lt;/STRONG&gt;&lt;/EM&gt; method to export data. It works great for charts and tables, but it doesn't work for Pivot tables. For Pivot tables I always get an error:&amp;nbsp; &lt;STRONG&gt;&lt;EM&gt;{ code: 13001, message: "no data" }&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The questions are:&amp;nbsp;&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;Why I get this error?&lt;/STRONG&gt;&lt;/EM&gt; and &lt;EM&gt;&lt;STRONG&gt;How can I export data from pivot tables in a mashup?&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 14:58:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Export-data-from-Pivot-Table-in-a-mashup/m-p/1946879#M16969</guid>
      <dc:creator>blink</dc:creator>
      <dc:date>2022-06-23T14:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: Export data from Pivot Table in a mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Export-data-from-Pivot-Table-in-a-mashup/m-p/1947491#M16982</link>
      <description>&lt;P&gt;I've found out that my &lt;STRONG&gt;exportData()&lt;/STRONG&gt; request has different &lt;STRONG&gt;handle&lt;/STRONG&gt; from other this table requests, like pagination.&lt;/P&gt;
&lt;P&gt;I get a model using Capability API's &lt;STRONG&gt;getObject()&lt;/STRONG&gt; method. Then I use the model to make an &lt;STRONG&gt;exportData()&lt;/STRONG&gt; request.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;const model = await application.getObject('htmlId', 'tableId';)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;model.exportData(options);&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;This request has handle (&lt;STRONG&gt;54&lt;/STRONG&gt;) and it ends with an error. As you can see on the image, the pagination request has another handle (&lt;STRONG&gt;59&lt;/STRONG&gt;).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="blink_1-1655996197445.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/82515i4F960BE519E3AE7C/image-size/large?v=v2&amp;amp;px=999" role="button" title="blink_1-1655996197445.png" alt="blink_1-1655996197445.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;All other charts and tables in the mashup works fine, I can export data. But I can't do it for "&lt;STRONG&gt;&lt;EM&gt;VizlibPivotTable&lt;/EM&gt;&lt;/STRONG&gt;". Any ideas why is&amp;nbsp;this happening?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 14:57:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Export-data-from-Pivot-Table-in-a-mashup/m-p/1947491#M16982</guid>
      <dc:creator>blink</dc:creator>
      <dc:date>2022-06-23T14:57:40Z</dc:date>
    </item>
  </channel>
</rss>

