Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikviewwizard
Master II
Master II

Checking uploaded files

Suppose there are 5 excel file uploaded on sharepoint.

file1

file2,

file3,

file4,

file5

I want to check if all the files are uploaded or not through Qlikview script?

Thanks in advance.

1 Solution

Accepted Solutions
petter
Partner - Champion III
Partner - Champion III

If you only want to check if they are uploaded as you say you can read the SharePoint-list as an RSS-feed and you select web files in your wizard and tell the wizard that it is XML-format. Then you should be able to check the records you get back to see if the files are there.

View solution in original post

4 Replies
petter
Partner - Champion III
Partner - Champion III

If you only want to check if they are uploaded as you say you can read the SharePoint-list as an RSS-feed and you select web files in your wizard and tell the wizard that it is XML-format. Then you should be able to check the records you get back to see if the files are there.

tresesco
MVP
MVP

While loading the files, create an extra field like:

Load

          FileName() as File

From <>;

If the files are of similar structure, they are probably concatenated by you, if so you get all the file names in the field File, now you can do your analysis/check.

prieper
Master II
Master II

You will receive an error, if one file is not available.

Else - in case files are there, but not updated - you may check on timestamp of the files (should be newer than ...)

Or you may check on number of records within the file ....

Peter

qlikviewwizard
Master II
Master II
Author

Could you please provide the script for better understanding.