Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Catch up on the newest Qlik features and improvements: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
xyz_1011
Partner - Creator II
Partner - Creator II

Retrieve QVD file ID

Good Morning all,

this one might be better suited in the API section, but i dont know....I am trying to get the IDs of all QVDs in a given (subfolder) of a space from within my LOAD script. I tried setting up a REST connection (worked) and also giot to see a few QVDs, but these seemed to be only QVDs from my personal folder...Can anyone help 

If this will not work: My ultimate goal is to delete QVDs (using an automation) in a given space based on a list of QVD names that need to be deleted. (I tried that as well, but failed as i need the file IDs for the files i want to delete...which i dont know how to get)

Thanks for any kind of support!

Labels (1)
  • SaaS

4 Replies
ift_isabelle
Partner - Creator III
Partner - Creator III

If you use the "List data files (in space)" block (in Qlik Cloud Services), you get all the datafiles present in a space, with their ID.

Is this what you are looking for?

Data ID.png

xyz_1011
Partner - Creator II
Partner - Creator II
Author

Thanks @ift_isabelle.

This does not really work. The situation is: I have a list of QVD files (only the name of them) and i need to find a way to delete those QVDs. What would be the best way to achieve this ?

ift_isabelle
Partner - Creator III
Partner - Creator III

Like you suggested: With an Automation.
Use a "List data files (in space)" and loop and delete over the QVD's you want.

xyz_1011
Partner - Creator II
Partner - Creator II
Author

Not exactly.

I have a bunch of QVDs sitting in a space. Among those QVDs are several QVDs that need to be deleted. I only know the names of the QVDs that i need to delete, but i cant delete them by name (only by ID). So, how to i get to know the ID of those QVDs that are on my list of "to be deleted QVDs" ? Thanks again!