<?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 Store data as QVD or attached file via mashup in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Store-data-as-QVD-or-attached-file-via-mashup/m-p/1757335#M13461</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I want to upload a .xlsx file via a mashup and &lt;STRONG&gt;import&lt;/STRONG&gt; it to my Qlik Sense App. Which Qlik API has the capability to do that? Either a direct store in the library as .qvd or attaching the .xlsx file to the app (lib://AttachedFiles/) would work.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 17:54:00 GMT</pubDate>
    <dc:creator>daviddiener</dc:creator>
    <dc:date>2024-11-16T17:54:00Z</dc:date>
    <item>
      <title>Store data as QVD or attached file via mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Store-data-as-QVD-or-attached-file-via-mashup/m-p/1757335#M13461</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I want to upload a .xlsx file via a mashup and &lt;STRONG&gt;import&lt;/STRONG&gt; it to my Qlik Sense App. Which Qlik API has the capability to do that? Either a direct store in the library as .qvd or attaching the .xlsx file to the app (lib://AttachedFiles/) would work.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:54:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Store-data-as-QVD-or-attached-file-via-mashup/m-p/1757335#M13461</guid>
      <dc:creator>daviddiener</dc:creator>
      <dc:date>2024-11-16T17:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Store data as QVD or attached file via mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Store-data-as-QVD-or-attached-file-via-mashup/m-p/1759256#M13501</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/127297"&gt;@daviddiener&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I have not performed this, for now, ill surely give it a try.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2020 10:33:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Store-data-as-QVD-or-attached-file-via-mashup/m-p/1759256#M13501</guid>
      <dc:creator>ajaykakkar93</dc:creator>
      <dc:date>2020-11-06T10:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Store data as QVD or attached file via mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Store-data-as-QVD-or-attached-file-via-mashup/m-p/1759267#M13505</link>
      <description>&lt;P&gt;I did it by sending a POST request to the QRS API. It is documented here:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense-developer/September2020/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-App-Content-Upload-File.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/September2020/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-App-Content-Upload-File.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here is my JS Code:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var baseUrl = "https://my-qliksense-server.com/qrs/appcontent/&amp;lt;App-id&amp;gt;"
var url = baseUrl + "/uploadfile?externalpath=myFile.xlsx&amp;amp;overwrite=true&amp;amp;xrfkey=abcdefghijklmnop"
    
var xmlHttp = new XMLHttpRequest()
xmlHttp.open( "POST", url, false ) // false for synchronous request
xmlHttp.setRequestHeader("X-Qlik-XrfKey", "abcdefghijklmnop")
xmlHttp.send( bodyData )&lt;/LI-CODE&gt;&lt;P&gt;The X-Qlik-XrfKey (16-digits) has to match the xrfkey query parameter. (&lt;A href="https://help.qlik.com/en-US/sense-developer/September2020/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-Connect-API-Using-Xrfkey-Headers.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/September2020/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-Connect-API-Using-Xrfkey-Headers.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The bodyData is a BLOP.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2020 10:50:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Store-data-as-QVD-or-attached-file-via-mashup/m-p/1759267#M13505</guid>
      <dc:creator>daviddiener</dc:creator>
      <dc:date>2020-11-06T10:50:02Z</dc:date>
    </item>
  </channel>
</rss>

