<?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 Upload images to Sense desktop app in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Upload-images-to-Sense-desktop-app/m-p/111364#M1526</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm working on a backup/restore feature. Having rebuilt this extension&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/countnazgul/QS-backup-and-restore-app" style="font-size: 10pt;" title="https://github.com/countnazgul/QS-backup-and-restore-app"&gt;https://github.com/countnazgul/QS-backup-and-restore-app&lt;/A&gt;&lt;/P&gt;&lt;P&gt;to split the different parts of the app into different files to enable version control with GIT.&lt;/P&gt;&lt;P&gt;Now I would like to handle the embedded image files as well.&lt;/P&gt;&lt;P&gt;Their url can be easily retrieved with the GetLibrary&lt;SPAN style="font-size: 13.3333px;"&gt;Content-method but I cannot find a way to insert the media files into a restored app in Sense Desktop.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;(On the server though there is an api to the qrs &lt;A href="https://help.qlik.com/en-US/sense-developer/June2018/Subsystems/RepositoryServiceAPI/Content/RepositoryServiceAPI/RepositoryServiceAPI-App-Content-Upload-File.htm" title="https://help.qlik.com/en-US/sense-developer/June2018/Subsystems/RepositoryServiceAPI/Content/RepositoryServiceAPI/RepositoryServiceAPI-App-Content-Upload-File.htm"&gt;https://help.qlik.com/en-US/sense-developer/June2018/Subsystems/RepositoryServiceAPI/Content/RepositoryServiceAPI/Reposi…&lt;/A&gt; )&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The images could be fetched in the backup-process and stored in the zip-file and then uploaded to the content/default-folder but then one must manually open the app and click on each image to add it after a restore.&lt;/P&gt;&lt;P&gt;So in short, any suggestions on how to automatically from a javascript add a file to the "in app" media library in Sense Desktop?&lt;/P&gt;&lt;P&gt;brgds&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jul 2018 05:18:04 GMT</pubDate>
    <dc:creator>andy</dc:creator>
    <dc:date>2018-07-05T05:18:04Z</dc:date>
    <item>
      <title>Upload images to Sense desktop app</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Upload-images-to-Sense-desktop-app/m-p/111364#M1526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm working on a backup/restore feature. Having rebuilt this extension&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/countnazgul/QS-backup-and-restore-app" style="font-size: 10pt;" title="https://github.com/countnazgul/QS-backup-and-restore-app"&gt;https://github.com/countnazgul/QS-backup-and-restore-app&lt;/A&gt;&lt;/P&gt;&lt;P&gt;to split the different parts of the app into different files to enable version control with GIT.&lt;/P&gt;&lt;P&gt;Now I would like to handle the embedded image files as well.&lt;/P&gt;&lt;P&gt;Their url can be easily retrieved with the GetLibrary&lt;SPAN style="font-size: 13.3333px;"&gt;Content-method but I cannot find a way to insert the media files into a restored app in Sense Desktop.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;(On the server though there is an api to the qrs &lt;A href="https://help.qlik.com/en-US/sense-developer/June2018/Subsystems/RepositoryServiceAPI/Content/RepositoryServiceAPI/RepositoryServiceAPI-App-Content-Upload-File.htm" title="https://help.qlik.com/en-US/sense-developer/June2018/Subsystems/RepositoryServiceAPI/Content/RepositoryServiceAPI/RepositoryServiceAPI-App-Content-Upload-File.htm"&gt;https://help.qlik.com/en-US/sense-developer/June2018/Subsystems/RepositoryServiceAPI/Content/RepositoryServiceAPI/Reposi…&lt;/A&gt; )&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The images could be fetched in the backup-process and stored in the zip-file and then uploaded to the content/default-folder but then one must manually open the app and click on each image to add it after a restore.&lt;/P&gt;&lt;P&gt;So in short, any suggestions on how to automatically from a javascript add a file to the "in app" media library in Sense Desktop?&lt;/P&gt;&lt;P&gt;brgds&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2018 05:18:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Upload-images-to-Sense-desktop-app/m-p/111364#M1526</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2018-07-05T05:18:04Z</dc:date>
    </item>
  </channel>
</rss>

