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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
AndyS2
Contributor II
Contributor II

List of files in folder

How to list all files at a given file location (data connection)?

What I am looking for is the the same function as used to be possible using FileList() function but for a given data connection

Labels (1)
1 Solution

Accepted Solutions
marksouzacosta

You can use FileList and pass your Data Connection name like you would do with a regular Windows Path:
For example:

For Each vFile in FileList('lib:\\MyLib\MyFolder\*.qvd')

Next vFile

Read more at Data Voyagers - datavoyagers.net
Follow me on my LinkedIn | Know IPC Global at ipc-global.com

View solution in original post

5 Replies
marksouzacosta

Hi @AndyS2,

What is your Qlik Platform (QlikView, Qlik Sense, Qlik Cloud) and what is your Data Connection or Data Source (Folder connection, S3, Sharepoint, etc)?

Read more at Data Voyagers - datavoyagers.net
Follow me on my LinkedIn | Know IPC Global at ipc-global.com

AndyS2
Contributor II
Contributor II
Author

Hi Mark,

I'm using Qlik Sense and the Data Connection is a folder connection.  For development purposes, it is a folder on my laptop...

...\Documents\Qlik\Sense\QDF\DEV\99.Shared_Folders\1.QVD\3.Load\revenue\dims

marksouzacosta

You can use FileList and pass your Data Connection name like you would do with a regular Windows Path:
For example:

For Each vFile in FileList('lib:\\MyLib\MyFolder\*.qvd')

Next vFile

Read more at Data Voyagers - datavoyagers.net
Follow me on my LinkedIn | Know IPC Global at ipc-global.com

AndyS2
Contributor II
Contributor II
Author

Thanks for your help Mark