<?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: Using Qlik cli - deleted .qvd-files or not? in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Using-Qlik-cli-deleted-qvd-files-or-not/m-p/1820401#M15215</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/89907"&gt;@simonheap&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's not possible yet to fully delete those files with the Qlik Cli.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;qlik item rm would only remove some references to the files.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This needs to be performed with the qix-datafiles API, however this API is not public yet.&lt;BR /&gt;We are working to make it public and it should be available very soon, it will be added in the documentation on &lt;A href="https://qlik.dev" target="_blank"&gt;https://qlik.dev&lt;/A&gt;&amp;nbsp;once available. Stay tuned !&lt;/P&gt;</description>
    <pubDate>Wed, 07 Jul 2021 13:34:29 GMT</pubDate>
    <dc:creator>Damien_V</dc:creator>
    <dc:date>2021-07-07T13:34:29Z</dc:date>
    <item>
      <title>Using Qlik cli - deleted .qvd-files or not?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Using-Qlik-cli-deleted-qvd-files-or-not/m-p/1819036#M15192</link>
      <description>&lt;P&gt;Hi!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used the Qlik cli with Powershell to get rid of a bunch of .qvd-files in my&amp;nbsp; Qlik Sense SaaS that I moved to a space with Qlik Data Transfer. I used the &lt;FONT face="courier new,courier"&gt;qlik item rm&lt;/FONT&gt;-command to do this.&lt;/P&gt;&lt;P&gt;If I now list my files using&amp;nbsp;&lt;FONT face="courier new,courier"&gt;qlik item ls&amp;nbsp;&lt;/FONT&gt;I no longer see my deleted files - nice, quite as expected. And if I go to my space in QS SaaS I do not see them either.&lt;/P&gt;&lt;P&gt;However, when I go to the Data Connection of my space to build an app, I still see the files I deleted. I can even choose data for my app from these files or get the out the xml&amp;nbsp;QvdTableHeader-information from them.&lt;/P&gt;&lt;P&gt;What am I doing wrong - or not doing?&lt;/P&gt;&lt;P&gt;Thanks for sharing any experiences!&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 09:56:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Using-Qlik-cli-deleted-qvd-files-or-not/m-p/1819036#M15192</guid>
      <dc:creator>simonheap</dc:creator>
      <dc:date>2021-07-01T09:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Using Qlik cli - deleted .qvd-files or not?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Using-Qlik-cli-deleted-qvd-files-or-not/m-p/1819090#M15193</link>
      <description>&lt;P&gt;Hi and thanks for taking the time to post the question&lt;/P&gt;&lt;P&gt;We will try to reproduce the issue.&lt;BR /&gt;What version of&amp;nbsp;&lt;STRONG&gt;qlik-cli&amp;nbsp;&lt;/STRONG&gt;are you using?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 12:40:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Using-Qlik-cli-deleted-qvd-files-or-not/m-p/1819090#M15193</guid>
      <dc:creator>han</dc:creator>
      <dc:date>2021-07-01T12:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using Qlik cli - deleted .qvd-files or not?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Using-Qlik-cli-deleted-qvd-files-or-not/m-p/1819097#M15194</link>
      <description>&lt;P&gt;Hi Han&lt;/P&gt;&lt;P&gt;It's v2.2.0. I grabbed it from&amp;nbsp;&lt;A href="https://github.com/qlik-oss/qlik-cli/releases," target="_blank" rel="noopener"&gt;https://github.com/qlik-oss/qlik-cli/releases, &lt;/A&gt;and I see a newer version v2.2.2 is made availble during the week.&lt;/P&gt;&lt;P&gt;My work around has been to delete ALL .qvd-files from my space using the Qlik cli, delete my space using QS SaaS, delete my folder connection from QDT, change the folder structure on the Win12 Qlikview-server and set the whole thing up anew: new QDT Connection, new space = new files. Now I have the .qvd-files I want.&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 12:50:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Using-Qlik-cli-deleted-qvd-files-or-not/m-p/1819097#M15194</guid>
      <dc:creator>simonheap</dc:creator>
      <dc:date>2021-07-01T12:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: Using Qlik cli - deleted .qvd-files or not?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Using-Qlik-cli-deleted-qvd-files-or-not/m-p/1820401#M15215</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/89907"&gt;@simonheap&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's not possible yet to fully delete those files with the Qlik Cli.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;qlik item rm would only remove some references to the files.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This needs to be performed with the qix-datafiles API, however this API is not public yet.&lt;BR /&gt;We are working to make it public and it should be available very soon, it will be added in the documentation on &lt;A href="https://qlik.dev" target="_blank"&gt;https://qlik.dev&lt;/A&gt;&amp;nbsp;once available. Stay tuned !&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 13:34:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Using-Qlik-cli-deleted-qvd-files-or-not/m-p/1820401#M15215</guid>
      <dc:creator>Damien_V</dc:creator>
      <dc:date>2021-07-07T13:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: Using Qlik cli - deleted .qvd-files or not?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Using-Qlik-cli-deleted-qvd-files-or-not/m-p/1820434#M15219</link>
      <description>&lt;P&gt;Hi Damien&lt;/P&gt;&lt;P&gt;Well, that's not a good situation to be in. You have an API that lets you remove the reference, but not the file. The problem then is, that if you should use the qlik item rm-command, you can't see the files in QS SaaS any longer - so it's a Catch 22: the files are not deleted by the API, but since you can't see them, you can't delete them manually either.&lt;/P&gt;&lt;P&gt;I suggest you discontinue the rm-command asap. It seems it creates more frustration than any good. And get the qix-datafiles API running asap too &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks for the feed-back!&lt;/P&gt;&lt;P&gt;All the best&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 14:33:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Using-Qlik-cli-deleted-qvd-files-or-not/m-p/1820434#M15219</guid>
      <dc:creator>simonheap</dc:creator>
      <dc:date>2021-07-07T14:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: Using Qlik cli - deleted .qvd-files or not?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Using-Qlik-cli-deleted-qvd-files-or-not/m-p/1864459#M15948</link>
      <description>&lt;P&gt;Do you have any idea how can i move some qvds from one space to another?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 13:53:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Using-Qlik-cli-deleted-qvd-files-or-not/m-p/1864459#M15948</guid>
      <dc:creator>nachelly</dc:creator>
      <dc:date>2021-11-29T13:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Using Qlik cli - deleted .qvd-files or not?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Using-Qlik-cli-deleted-qvd-files-or-not/m-p/1942912#M16931</link>
      <description>&lt;P&gt;Noticed that&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Knowledge/Tenant-Admin-cannot-delete-datasets-for-unknown-deleted-user/ta-p/1906888" target="_blank"&gt;Tenant Admin cannot delete datasets for unknown / ... - Qlik Community - 1906888&lt;/A&gt;&amp;nbsp;now recommends using qlik-cli for bulk deleting QVDs. &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/29425"&gt;@Damien_V&lt;/a&gt;&amp;nbsp;- has the bug been resolved or should that KB be removed/updated?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 14:05:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Using-Qlik-cli-deleted-qvd-files-or-not/m-p/1942912#M16931</guid>
      <dc:creator>AlexOmetis</dc:creator>
      <dc:date>2022-06-13T14:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using Qlik cli - deleted .qvd-files or not?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Using-Qlik-cli-deleted-qvd-files-or-not/m-p/2003304#M17557</link>
      <description>&lt;P&gt;I was chatting with&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/18018"&gt;@AlexOmetis&lt;/a&gt;&amp;nbsp; earlier today and wanted to update this thread. On or about May 13th 2022 (beginning with qlik-cli v 2.11.1 / &lt;A href="https://github.com/qlik-oss/qlik-cli/releases/tag/v2.11.1" target="_blank"&gt;https://github.com/qlik-oss/qlik-cli/releases/tag/v2.11.1&lt;/A&gt;&amp;nbsp;), the SaaS platform (and qlik-cli) added support for interacting with files on the platform.&lt;/P&gt;&lt;P&gt;Examples of usage:&lt;/P&gt;&lt;P&gt;Removing all data files in a specified space&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;$space_id = '63594739252c1b8cf49ca5fc' # Define my space id
$connections = qlik raw get v1/data-connections --query spaceId=$space_id,limit=100 | ConvertFrom-Json # Get all data connections for the specified space
foreach($connection in $connections) {
    if($connection.qName -eq 'DataFiles') {
        # If the data connection name in the specified space = "DataFiles" then store this data connection id
        $space_data_file_connection_id = $connection.id
        }
}
# Get all files stored in DataFiles for the specified space
$space_files = qlik data-file ls --connectionId $space_data_file_connection_id | ConvertFrom-Json
$space_data_files = @()
foreach($space_file in $space_files) {
    $space_data_files += $space_file.id
}
foreach($space_data_file in $space_data_files) {
    qlik data-file rm $space_data_file
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Uploading a file (which does not already exist):&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;$myFilePath = 'C:\etc\Data\CSV.csv' # Where is the file
$myFile = $myFilePath -replace '.*\\' # Store just the file name (e.g. CSV.csv)
$spaceId = '5e42f2cc0ea40d0001214b3a' # Define my space id
$dataFiles = @()
$connections = qlik raw get v1/data-connections --query spaceId=$spaceId,limit=100 | ConvertFrom-Json # Get all data connections for the specified space
foreach($connection in $connections) {
    if($connection.qName -eq 'DataFiles') {
        # If the data connection name in the specified space = "DataFiles" then store this data connection id
        $spaceDataFileConnectionId = $connection.id
        }
}
# Upload a specified file to the DataFiles connection in the specified space
qlik data-file create --name $myFile --file $myFilePath --connectionId $spaceDataFileConnectionId&lt;/LI-CODE&gt;&lt;P&gt;Updating a file:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;$myFilePath = 'C:\etc\Data\CSV.csv' # Where is the file
$myFile = $myFilePath -replace '.*\\' # Store just the file name (e.g. CSV.csv)
$spaceId = '5e42f2cc0ea40d0001214b3a' # Define my space id
$dataFiles = @()
$connections = qlik raw get v1/data-connections --query spaceId=$spaceId,limit=100 | ConvertFrom-Json # Get all data connections for the specified space
foreach($connection in $connections) {
    if($connection.qName -eq 'DataFiles') {
        # If the data connection name in the specified space = "DataFiles" then store this data connection id
        $spaceDataFileConnectionId = $connection.id
        }
}
# Get all files stored in DataFiles for the specified space
$spaceFiles = qlik data-file ls --connectionId $spaceDataFileConnectionId | ConvertFrom-Json
foreach($spaceFile in $spaceFiles) {
    IF($spaceFile.name -eq $myFile) {
        # Store the id of the file
        $dataFileId = $spaceFile.id
    }
}
# Replace the existing file with a file from disk
qlik data-file update $dataFileId --file $myFilePath --connectionId $spaceDataFileConnectionId&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 11 Nov 2022 01:44:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Using-Qlik-cli-deleted-qvd-files-or-not/m-p/2003304#M17557</guid>
      <dc:creator>Levi_Turner</dc:creator>
      <dc:date>2022-11-11T01:44:22Z</dc:date>
    </item>
  </channel>
</rss>

