<?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: Duplicate DataFiles and move them to another space in Qlik Automate</title>
    <link>https://community.qlik.com/t5/Qlik-Automate/Duplicate-DataFiles-and-move-them-to-another-space/m-p/2053487#M1581</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/16653"&gt;@achampire&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry for not mentioning the API methods . Please use as following:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN&gt;Get Id of the connection to the space - Use Get Method.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="get-connection-id-of-space.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/103552i7948946302F610D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="get-connection-id-of-space.png" alt="get-connection-id-of-space.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Get id of the datafile - Use Get Method.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="get-id-of-datafile.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/103553i0F6EA458A264AE7E/image-size/large?v=v2&amp;amp;px=999" role="button" title="get-id-of-datafile.png" alt="get-id-of-datafile.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Copy datafile to space - Use Post Method.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="copy-data-file-to-space.png" style="width: 479px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/103554i8DF73403A8E19AE6/image-dimensions/479x207?v=v2" width="479" height="207" role="button" title="copy-data-file-to-space.png" alt="copy-data-file-to-space.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this helps!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please let me know if you still have any further questions.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Mar 2023 09:14:43 GMT</pubDate>
    <dc:creator>AfeefaTk</dc:creator>
    <dc:date>2023-03-27T09:14:43Z</dc:date>
    <item>
      <title>Duplicate DataFiles and move them to another space</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Duplicate-DataFiles-and-move-them-to-another-space/m-p/2051704#M1560</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am searching a way to easily duplicate DataFiles from a choosen space and move all duplications on another space (like a ctrl+c + ctrl+v on windows.&lt;/P&gt;
&lt;P&gt;I found some Qlik Cloud Service blocks that can be interesting (like the Patch Dataset or update dataset) but I don't know if those can answer the question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you guys have an idea to answer this need ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How are you using Patch Dataset and Update Dataset ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alexandre CHAMPIRÉ&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 16:47:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Duplicate-DataFiles-and-move-them-to-another-space/m-p/2051704#M1560</guid>
      <dc:creator>achampire</dc:creator>
      <dc:date>2023-03-21T16:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate DataFiles and move them to another space</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Duplicate-DataFiles-and-move-them-to-another-space/m-p/2052403#M1567</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/16653"&gt;@achampire&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure if the update/patch dataset blocks can be used to copy the apps to different space.&lt;/P&gt;
&lt;P&gt;I can see an API call to change the space of the dataset.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://qlik.dev/apis/rest/data-files#%23%2Fentries%2Fv1%2Fdata-files%2F-id%2Factions%2Fchange-space-post" target="_blank" rel="noopener"&gt;https://qlik.dev/apis/rest/data-files#%23%2Fentries%2Fv1%2Fdata-files%2F-id%2Factions%2Fchange-space-post&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;We don't have a block in Qlik Cloud Services connector to do this.&lt;/P&gt;
&lt;P&gt;But you can try using the Call URL block to make an API call.&lt;/P&gt;
&lt;P&gt;Also if you want the dataset to be in both spaces this won't work.&lt;/P&gt;
&lt;P&gt;I am checking internally to see if it's something achievable using the Patch dataset block or by any other means in QAA.&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 09:45:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Duplicate-DataFiles-and-move-them-to-another-space/m-p/2052403#M1567</guid>
      <dc:creator>AfeefaTk</dc:creator>
      <dc:date>2023-03-23T09:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate DataFiles and move them to another space</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Duplicate-DataFiles-and-move-them-to-another-space/m-p/2052414#M1568</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/134179"&gt;@AfeefaTk&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your answer.&lt;/P&gt;
&lt;P&gt;Is there a block in automation (or an API endpoint) in order to perform a data files duplication ? I guess there is one because we can do this on Qlik Cloud Hub while accessing Space detail &amp;gt; Data source &amp;gt; Data Files.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 10:12:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Duplicate-DataFiles-and-move-them-to-another-space/m-p/2052414#M1568</guid>
      <dc:creator>achampire</dc:creator>
      <dc:date>2023-03-23T10:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate DataFiles and move them to another space</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Duplicate-DataFiles-and-move-them-to-another-space/m-p/2052511#M1571</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/16653"&gt;@achampire&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At the moment it's not possible to achieve this using automation due to a few reasons&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;We don't have dedicated block in the QCS connector to copy datafile to a space.&lt;/LI&gt;
&lt;LI&gt;Raw API Request block cannot be used as the datafiles API is not enabled in the block&lt;/LI&gt;
&lt;LI&gt;Call URL block cannot be used as it only allows application/json content type and the copy datafile to space API uses multipart/form-data content type.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;This can be achieved using API by following the below steps&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;DIV&gt;Get Id of the connection to the space&lt;BR /&gt;Curl Request :&amp;nbsp;&lt;BR /&gt;curl --location 'https://{tenantURL}/api/v1/data-files/connections?SpaceId=space_id' \&lt;BR /&gt;--header 'Authorization: Bearer xx'&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV&gt;Get id of the datafile you wish to copy by passing&amp;nbsp;&lt;SPAN&gt;the connection ID received from the above step as query parameters&lt;BR /&gt;Curl Request :&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;curl --location 'https://{tenantURL}/api/v1/data-files?connectionId=&lt;SPAN&gt;connection ID&lt;/SPAN&gt;' \&lt;BR /&gt;--header 'Authorization: Bearer xx'&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;Copy datafile to space using the id of the source data file, and the connectionId of the space you want to land it into&lt;BR /&gt;Curl Request :&amp;nbsp;&lt;BR /&gt;curl --location 'https://{tenantURL}/api/v1/data-files' \&lt;BR /&gt;--header 'Authorization: Bearer xx' \&lt;BR /&gt;--form 'json="{\"name\":\"test.qvd\",\"connectionId\":\"your-connection-id\",\"sourceId\":\"your-space-id\"}"'&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 14:44:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Duplicate-DataFiles-and-move-them-to-another-space/m-p/2052511#M1571</guid>
      <dc:creator>AfeefaTk</dc:creator>
      <dc:date>2023-03-23T14:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate DataFiles and move them to another space</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Duplicate-DataFiles-and-move-them-to-another-space/m-p/2052776#M1573</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/16653"&gt;@achampire&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would suggest you add this feature request via ideation if you want the blocks to be in the Qlik Cloud Services connector in QAA.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Suggest-an-Idea/idb-p/qlik-ideas" target="_blank"&gt;https://community.qlik.com/t5/Suggest-an-Idea/idb-p/qlik-ideas&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 05:06:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Duplicate-DataFiles-and-move-them-to-another-space/m-p/2052776#M1573</guid>
      <dc:creator>AfeefaTk</dc:creator>
      <dc:date>2023-03-24T05:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate DataFiles and move them to another space</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Duplicate-DataFiles-and-move-them-to-another-space/m-p/2053463#M1579</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/134179"&gt;@AfeefaTk&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried steps from your previous reply but I didn't make it work correctly.&lt;/P&gt;
&lt;P&gt;Because I work with postman to achieve some test, I took url content of your message to find API endpoint (GET / POST or PUT was missing for example.&lt;/P&gt;
&lt;P&gt;For the last one (3.) I make the file move from a space to my personal one despite the fact I put a space Id on my request.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will request this feature via ideation as you adviced.&lt;/P&gt;
&lt;P&gt;And I still work on the correct syntax to achieve it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 08:50:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Duplicate-DataFiles-and-move-them-to-another-space/m-p/2053463#M1579</guid>
      <dc:creator>achampire</dc:creator>
      <dc:date>2023-03-27T08:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate DataFiles and move them to another space</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Duplicate-DataFiles-and-move-them-to-another-space/m-p/2053487#M1581</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/16653"&gt;@achampire&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry for not mentioning the API methods . Please use as following:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN&gt;Get Id of the connection to the space - Use Get Method.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="get-connection-id-of-space.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/103552i7948946302F610D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="get-connection-id-of-space.png" alt="get-connection-id-of-space.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Get id of the datafile - Use Get Method.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="get-id-of-datafile.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/103553i0F6EA458A264AE7E/image-size/large?v=v2&amp;amp;px=999" role="button" title="get-id-of-datafile.png" alt="get-id-of-datafile.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Copy datafile to space - Use Post Method.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="copy-data-file-to-space.png" style="width: 479px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/103554i8DF73403A8E19AE6/image-dimensions/479x207?v=v2" width="479" height="207" role="button" title="copy-data-file-to-space.png" alt="copy-data-file-to-space.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this helps!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please let me know if you still have any further questions.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 09:14:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Duplicate-DataFiles-and-move-them-to-another-space/m-p/2053487#M1581</guid>
      <dc:creator>AfeefaTk</dc:creator>
      <dc:date>2023-03-27T09:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate DataFiles and move them to another space</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Duplicate-DataFiles-and-move-them-to-another-space/m-p/2053492#M1582</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/16653"&gt;@achampire&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sharing the postman collection for your reference.&lt;/P&gt;
&lt;P&gt;Please import the collection and see if that works.&lt;/P&gt;
&lt;P&gt;Please don't forget to set up the below parameters :&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Authorization header -&amp;gt; For all the API calls.&lt;/LI&gt;
&lt;LI&gt;SpaceId -&amp;gt; For 1st API call -&amp;gt;&amp;nbsp;get id of datafile connection in space.&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;connectionId -&amp;gt; For 2nd API call -&amp;gt;&amp;nbsp;get id of datafile.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;name,connectionId,sourceId -&amp;gt; For 3rd APi call -&amp;gt;&amp;nbsp;copy datafile to space.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 09:29:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Duplicate-DataFiles-and-move-them-to-another-space/m-p/2053492#M1582</guid>
      <dc:creator>AfeefaTk</dc:creator>
      <dc:date>2023-03-27T09:29:10Z</dc:date>
    </item>
  </channel>
</rss>

