<?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: Update Media Files for Sheet Images in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Update-Media-Files-for-Sheet-Images/m-p/2472721#M20995</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/102611"&gt;@Ericga&lt;/a&gt;&amp;nbsp;, don't define your local path, but just the name of your file you are uploading.&lt;/P&gt;
&lt;P&gt;For instance I'm uploading an image called image3.png located in my Download folder on my machine. Below my Postman request&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alex_colombo_0-1721832504800.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/169870i44BEFD884F073A44/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alex_colombo_0-1721832504800.png" alt="alex_colombo_0-1721832504800.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If you are uploading a file with the same name, it will not work. Seems there is no replace option. You have to &lt;A href="https://qlik.dev/apis/rest/apps/#delete-v1-apps-appId-media-files-path" target="_self"&gt;delete&lt;/A&gt; first, and then upload.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;About setting the new image or change Sheet tile styling you have to use Engine API using &lt;A href="https://qlik.dev/apis/json-rpc/qix/genericobject/#setproperties" target="_self"&gt;SetProperties&lt;/A&gt; method&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alex_colombo_1-1721832742175.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/169871iED577A35A61D0DBD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alex_colombo_1-1721832742175.png" alt="alex_colombo_1-1721832742175.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jul 2024 14:52:51 GMT</pubDate>
    <dc:creator>alex_colombo</dc:creator>
    <dc:date>2024-07-24T14:52:51Z</dc:date>
    <item>
      <title>Update Media Files for Sheet Images</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Update-Media-Files-for-Sheet-Images/m-p/2470986#M20929</link>
      <description>&lt;P&gt;I need to mass update the image that is stored in the Media Library for a group of apps in Qlik Cloud.&amp;nbsp; The image that is being used is displaying on the Sheet header.&amp;nbsp; See attached screenshot for example.&amp;nbsp; Could i use the media/files API to upload a new image file with the same name to replace the original image?&lt;/P&gt;
&lt;P&gt;If so i am having issues validating&amp;nbsp; the API in Postman. I think I am not understanding the path portion of the&amp;nbsp; command. i have structrued as below.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is the path the local path the new image will be uploaded from? does it go on the end of the call or in the Request string?&lt;/P&gt;
&lt;P&gt;i would also like to change some Sheet tile styling options such as the background color and Font Color.&amp;nbsp; Is there a way to do that through an API?&lt;/P&gt;
&lt;P&gt;Thanks in advance for any help or advice.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://mytenant.us.qlikcloud.com/api/v1/apps/1111111-2222-3333-4444-5555555555/media/files/" target="_blank" rel="noopener"&gt;https://mytenant.us.qlikcloud.com/api/v1/apps/1111111-2222-3333-4444-5555555555/media/files/&lt;/A&gt;"C:/MyFolder/imagename.png"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2024 15:46:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Update-Media-Files-for-Sheet-Images/m-p/2470986#M20929</guid>
      <dc:creator>Ericga</dc:creator>
      <dc:date>2024-07-16T15:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Update Media Files for Sheet Images</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Update-Media-Files-for-Sheet-Images/m-p/2472721#M20995</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/102611"&gt;@Ericga&lt;/a&gt;&amp;nbsp;, don't define your local path, but just the name of your file you are uploading.&lt;/P&gt;
&lt;P&gt;For instance I'm uploading an image called image3.png located in my Download folder on my machine. Below my Postman request&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alex_colombo_0-1721832504800.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/169870i44BEFD884F073A44/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alex_colombo_0-1721832504800.png" alt="alex_colombo_0-1721832504800.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If you are uploading a file with the same name, it will not work. Seems there is no replace option. You have to &lt;A href="https://qlik.dev/apis/rest/apps/#delete-v1-apps-appId-media-files-path" target="_self"&gt;delete&lt;/A&gt; first, and then upload.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;About setting the new image or change Sheet tile styling you have to use Engine API using &lt;A href="https://qlik.dev/apis/json-rpc/qix/genericobject/#setproperties" target="_self"&gt;SetProperties&lt;/A&gt; method&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alex_colombo_1-1721832742175.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/169871iED577A35A61D0DBD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alex_colombo_1-1721832742175.png" alt="alex_colombo_1-1721832742175.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2024 14:52:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Update-Media-Files-for-Sheet-Images/m-p/2472721#M20995</guid>
      <dc:creator>alex_colombo</dc:creator>
      <dc:date>2024-07-24T14:52:51Z</dc:date>
    </item>
  </channel>
</rss>

