<?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 QRS API app export request not downloading in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-app-export-request-not-downloading/m-p/2037953#M18110</link>
    <description>&lt;P&gt;Below is the code that is giving me problems, these requests are being made from inside a mashup. My issue is coming from the GET request not downloading the app. My initial POST request to the "/app/{id}/export/{token}" QRS endpoint is returning a download path to me but when I send the GET request to the download path it gives a response but it does not start a download. (Note: This is inside an event listener and the app ID value is coming from the selected element, it is coming through correctly.) Could anyone help show me what I'm missing?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BenjaminGroff_0-1676407342164.png" style="width: 922px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/100507i9A25272D798B2EC4/image-dimensions/922x626?v=v2" width="922" height="626" role="button" title="BenjaminGroff_0-1676407342164.png" alt="BenjaminGroff_0-1676407342164.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Feb 2023 20:53:43 GMT</pubDate>
    <dc:creator>BenjaminGroff</dc:creator>
    <dc:date>2023-02-14T20:53:43Z</dc:date>
    <item>
      <title>QRS API app export request not downloading</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-app-export-request-not-downloading/m-p/2037953#M18110</link>
      <description>&lt;P&gt;Below is the code that is giving me problems, these requests are being made from inside a mashup. My issue is coming from the GET request not downloading the app. My initial POST request to the "/app/{id}/export/{token}" QRS endpoint is returning a download path to me but when I send the GET request to the download path it gives a response but it does not start a download. (Note: This is inside an event listener and the app ID value is coming from the selected element, it is coming through correctly.) Could anyone help show me what I'm missing?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BenjaminGroff_0-1676407342164.png" style="width: 922px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/100507i9A25272D798B2EC4/image-dimensions/922x626?v=v2" width="922" height="626" role="button" title="BenjaminGroff_0-1676407342164.png" alt="BenjaminGroff_0-1676407342164.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2023 20:53:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-app-export-request-not-downloading/m-p/2037953#M18110</guid>
      <dc:creator>BenjaminGroff</dc:creator>
      <dc:date>2023-02-14T20:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: QRS API app export request not downloading</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-app-export-request-not-downloading/m-p/2038092#M18111</link>
      <description>&lt;P&gt;Could you try programmatically creating a link element and clicking it to trigger the download?&lt;/P&gt;
&lt;PRE class="lang-js s-code-block"&gt;&lt;CODE class="hljs language-javascript"&gt;const link = &lt;SPAN class="hljs-variable language_"&gt;document&lt;/SPAN&gt;.&lt;SPAN class="hljs-title function_"&gt;createElement&lt;/SPAN&gt;(&lt;SPAN class="hljs-string"&gt;"a"&lt;/SPAN&gt;);
link.&lt;SPAN class="hljs-property"&gt;download&lt;/SPAN&gt; = // filename
link.&lt;SPAN class="hljs-property"&gt;href&lt;/SPAN&gt; = // download link
link.&lt;SPAN class="hljs-title function_"&gt;click&lt;/SPAN&gt;();&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Source:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/54626186/how-to-download-file-with-javascript" target="_blank"&gt;How to download file with javascript? - Stack Overflow&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 08:09:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-app-export-request-not-downloading/m-p/2038092#M18111</guid>
      <dc:creator>colsson</dc:creator>
      <dc:date>2023-02-15T08:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: QRS API app export request not downloading</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-app-export-request-not-downloading/m-p/2038312#M18115</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/177780"&gt;@colsson&lt;/a&gt;&amp;nbsp;that worked! Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 14:52:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-app-export-request-not-downloading/m-p/2038312#M18115</guid>
      <dc:creator>BenjaminGroff</dc:creator>
      <dc:date>2023-02-15T14:52:46Z</dc:date>
    </item>
  </channel>
</rss>

