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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
apoorvasd
Creator II
Creator II

Loop through different folders in SharePoint

Hello Everyone,

I am trying to loop through excel files present in SharePoint using "for each" loop as shown below. But not sure why, the loop statement doesn't work and there is no data fetched into QlikView. Can anyone guide me here please?

for each FoundFile in filelist ('http:servername/processes/ab/abc/abcd/xy%20xyz%202017%20-%20Region%20Plant\FileName*.xlsx')

FileList:

load

A,

B

C

FROM $(FoundFile)

(ooxml...);

next FoundFile;


PS: Service account does have full access to this site in SharePoint.

Thank you.

10 Replies
tross2018
Partner - Contributor II
Partner - Contributor II

@williamandersson 

No, the Qlik Data Gateway does not read excel files.  It allows connections from on prem sources to Qlik cloud only.  You'll see a (via Direct Access gateway) at the end of the connection name for connections going through the data gateway.

tross2018_0-1712072744957.png

 

If you want to transfer excel files you need to use Qlik Data Transfer (QDT).  QDT can move excel or csv files from a network folder to Qlik cloud.  Note there is a limit of 200 files per folder location setup with QDT.