<?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: Unable to export to excel in Qlik Sense mashups. in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-export-to-excel-in-Qlik-Sense-mashups/m-p/85952#M1230</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aiham,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This definitely helps! Thanks a lot!! But I still need help in 2 things :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Getting the below pop-ups while browsing the mashup, once we click on the "OK" button, everything works fine.&lt;/P&gt;&lt;P&gt;How do I get rid of these pop-ups?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/212539_pastedImage_3.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/212538_pastedImage_2.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.qlik.com/legacyfs/online/212540_pastedImage_4.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Export to excel happens but the dump gets exported to the "tempcontent" folder on my QS Server.&lt;/P&gt;&lt;P&gt;If we were to publish the mashup &amp;amp; the end user were to view the mashup through a URL; will the export still work? Where will the export dump get stored then?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me with the above questions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Sep 2018 02:32:49 GMT</pubDate>
    <dc:creator>10dulkar</dc:creator>
    <dc:date>2018-09-04T02:32:49Z</dc:date>
    <item>
      <title>Unable to export to excel in Qlik Sense mashups.</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-export-to-excel-in-Qlik-Sense-mashups/m-p/85950#M1228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have my Qlik Sense report converted into a mashup which is deployed to QAP set up.&lt;/P&gt;&lt;P&gt;I need to have my charts &amp;amp; tables exported to excel for which I have tried the below jQuery code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;require( ["js/qlik", "jquery"], function ( qlik, $ ) {&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; qlik.setOnError( function ( error ) {&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert( error.message );&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; } );&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; var app = qlik.openApp('d5d74472-04f9-4add-9002-7925e504ab2c', config);&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; app.getObject('QV01','WTjpK').then( function( vizModel ) {&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Prevent clicking on the button too early&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //$('#cmdExport').show();&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $('#cmdExport').on('click', function() {&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vizModel.exportData().then(function( reply ) {&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log('qUrl', reply);&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; window.open(reply.result.qUrl);&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; });&amp;nbsp; &lt;/P&gt;&lt;P&gt;});&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; However, I am getting the below error :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Unable to get property 'qUrl' of undefined or null reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Sep 2018 13:16:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-export-to-excel-in-Qlik-Sense-mashups/m-p/85950#M1228</guid>
      <dc:creator>10dulkar</dc:creator>
      <dc:date>2018-09-02T13:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to export to excel in Qlik Sense mashups.</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-export-to-excel-in-Qlik-Sense-mashups/m-p/85951#M1229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/213626"&gt;10dulkar&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The model reurned from `QApp.getObject` - is not supported. The way you can do exportData with the capability APIs is by using Table API =&amp;gt; &lt;A href="https://help.qlik.com/en-US/sense-developer/June2018/Subsystems/APIs/Content/CapabilityAPIs/TableAPI/exportData-method.htm" title="https://help.qlik.com/en-US/sense-developer/June2018/Subsystems/APIs/Content/CapabilityAPIs/TableAPI/exportData-method.htm"&gt;https://help.qlik.com/en-US/sense-developer/June2018/Subsystems/APIs/Content/CapabilityAPIs/TableAPI/exportData-method.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table model is also exposed in Visualization API so should be able to do:&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15359548113521932 jive_text_macro" jivemacro_uid="_15359548113521932"&gt;
&lt;P&gt;var app = qlik.openApp('d5d74472-04f9-4add-9002-7925e504ab2c', config); &lt;/P&gt;
&lt;P&gt;&amp;nbsp; app.visualization.get('WTjpK').then( function( vizModel ) { &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; visModel.show('QV01');&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Prevent clicking on the button too early &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //$('#cmdExport').show(); &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $('#cmdExport').on('click', function() {&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vizModel.table.exportData().then(function( reply ) {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log('qUrl', reply);&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; window.open(reply.result.qUrl); &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }); &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }); &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; }); &lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2018 06:09:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-export-to-excel-in-Qlik-Sense-mashups/m-p/85951#M1229</guid>
      <dc:creator>Aiham_Azmeh</dc:creator>
      <dc:date>2018-09-03T06:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to export to excel in Qlik Sense mashups.</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-export-to-excel-in-Qlik-Sense-mashups/m-p/85952#M1230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aiham,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This definitely helps! Thanks a lot!! But I still need help in 2 things :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Getting the below pop-ups while browsing the mashup, once we click on the "OK" button, everything works fine.&lt;/P&gt;&lt;P&gt;How do I get rid of these pop-ups?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/212539_pastedImage_3.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/212538_pastedImage_2.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.qlik.com/legacyfs/online/212540_pastedImage_4.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Export to excel happens but the dump gets exported to the "tempcontent" folder on my QS Server.&lt;/P&gt;&lt;P&gt;If we were to publish the mashup &amp;amp; the end user were to view the mashup through a URL; will the export still work? Where will the export dump get stored then?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me with the above questions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2018 02:32:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-export-to-excel-in-Qlik-Sense-mashups/m-p/85952#M1230</guid>
      <dc:creator>10dulkar</dc:creator>
      <dc:date>2018-09-04T02:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to export to excel in Qlik Sense mashups.</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-export-to-excel-in-Qlik-Sense-mashups/m-p/85953#M1231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahesh, (sorry for late reply)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) this shouldn't happen - it looks like you are trying to open an app that doesn't exists - or have no access rights to it? I don't know for sure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) assuming that the user is authenticated correctly, yes - you may probably need to build the URL since the mashup is deployed elsewhere, something like:&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15361276262213989" jivemacro_uid="_15361276262213989" modifiedtitle="true"&gt;
&lt;P&gt; vizModel.table.exportData().then(function( reply ) {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log('qUrl', reply);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; window.open('&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://[your-qlik-server]/'+reply.result.qUrl);" rel="nofollow" target="_blank"&gt;https://[your-qlik-server]/'+reply.result.qUrl);&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hoe this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2018 06:08:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-export-to-excel-in-Qlik-Sense-mashups/m-p/85953#M1231</guid>
      <dc:creator>Aiham_Azmeh</dc:creator>
      <dc:date>2018-09-05T06:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to export to excel in Qlik Sense mashups.</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-export-to-excel-in-Qlik-Sense-mashups/m-p/85954#M1232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Aiham! This was very helpful &amp;amp; I was able to sort the issue out...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 01:50:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-export-to-excel-in-Qlik-Sense-mashups/m-p/85954#M1232</guid>
      <dc:creator>10dulkar</dc:creator>
      <dc:date>2018-10-03T01:50:19Z</dc:date>
    </item>
  </channel>
</rss>

