Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I am trying to load multiple excel files from SharePoint using FileList but didn't get through could you please suggest how can i load all the excel files from sharepoint,or please suggest if any workaround for this.
Please find the below code which i am using to read the files
Ex:
for Each file in FileList('https:\\SharePointlink\*.xlsx');
LOAD
FileName('$(file)') as DocName
FROM
[$(file)]
(ooxml, embedded labels, table is Raw);
NEXT file
Thanks & Regards
Mallikarjuna
what type of error you are getting?
Please check the user account have the read access on the share point site ?
Hi Dathu,
Thanks for the reply,
I didnt get any error and i have full access to Sharepoint but the above script fail load the files
Regards
Malli
Its look very wired. There is no data in thq qvw after reload ?
The work around is try to download all the files into Network drive or any folder and then initiate the reload from drive or folder.
Mean time I can test this use case from my share point site and let you know
Hi
As far as I know, the http and https protocols do not support file iteration using wildcard loads or FileList() loops. For loading data with ese protocols you will need to explicitly name the files.
Can you access these documents via a network shared drive instead? This is the only workaround I can suggest.
HTH
Jonathan