<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Load data from multiple xlsx files from SharePoint folder in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-data-from-multiple-xlsx-files-from-SharePoint-folder/m-p/1576044#M3873</link>
    <description>&lt;P&gt;Hi there. I am going to try to be as descriptive as possible with this issue.&amp;nbsp;I have noticed there are a number of threads on similar / tangential matters, but none really appeared to resolve the issue I am facing.&lt;/P&gt;&lt;P&gt;I am relatively new to Qlik Sense (or View for that matter).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As the title suggests, the scenario is the following:&lt;/P&gt;&lt;P&gt;I am developing an app that relies on data :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;found in 'n' number of .xslx workbooks.&amp;nbsp;These&amp;nbsp;workbooks are structurally identical and from there the app loads 4 sheets, that, taken together form the bulk of the data set.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;these sheets reside on an internal SharePoint location.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;What I seek&amp;nbsp;to achieve is be able to have a connection to the SharePoint folder and load the 4 sheets from the 'n' number of workbooks present there.&lt;/P&gt;&lt;P&gt;I have established a REST connection to the SharePoint in question as such:&lt;/P&gt;&lt;P&gt;URL: &lt;A href="https://domain/subsite1/subsite2/_api/web/GetFolderByServerRelativeUrl" target="_blank"&gt;https://domain/subsite1/subsite2/_api/web/GetFolderByServerRelativeUrl&lt;/A&gt;(' folder1/folder2/3.0 folder3/1.0 folder4/test_data’)/Files&amp;nbsp;&lt;/P&gt;&lt;P&gt;Method: GET&lt;/P&gt;&lt;P&gt;Authentication: Windows NTLM&lt;/P&gt;&lt;P&gt;Connects fine to above. No pagination settings yet. What I can retrieve from the above is in effect a list of URLs for the files present there, as such:&lt;/P&gt;&lt;P&gt;&lt;A href="https://domain/subsite1/subsite2/_api/Web/GetFileByServerRelativeUrl('/subsite1/subsite2/" target="_blank"&gt;https://domain/subsite1/subsite2/_api/Web/GetFileByServerRelativeUrl('/subsite1/subsite2/&lt;/A&gt; folder1/folder2/3.0 folder3/1.0 folder4/test_data /exampleExcelFile1.xlsx')&lt;/P&gt;&lt;P&gt;&lt;A href="https://domain/subsite1/subsite2/_api/Web/GetFileByServerRelativeUrl('/subsite1/subsite2/" target="_blank"&gt;https://domain/subsite1/subsite2/_api/Web/GetFileByServerRelativeUrl('/subsite1/subsite2/&lt;/A&gt; folder1/folder2/3.0 folder3/1.0 folder4/test_data /exampleExcelFile2.xlsx')&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;I understand that one can't use a wildcard load, nor does a construct like the below work:&lt;/P&gt;&lt;P&gt;&amp;nbsp;Let vExcelFilePath = 'lib://[SharePoint Path]/test_data/*.xlsx';&lt;/P&gt;&lt;P&gt;For Each vFile In FileList('$(vExcelFilePath)')&lt;/P&gt;&lt;P&gt;Trace $(vFile);&lt;/P&gt;&lt;P&gt;exampleTable:&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Project ID" as d_ProjectID,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Project Name" as d_ProjectName&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;//whatever other fields&amp;nbsp;etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; From [$(vFile)](ooxml, embedded labels, table is ProjectData);&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Next vFile&lt;/P&gt;&lt;P&gt;My logic was to use the list pulled through the rest connector, loop through the ‘n’ number of excel URLs and load them via a looped Web File connection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But as I try to connect to, say,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://domain/subsite1/subsite2/_api/Web/GetFileByServerRelativeUrl('/subsite1/subsite2/" target="_blank"&gt;https://domain/subsite1/subsite2/_api/Web/GetFileByServerRelativeUrl('/subsite1/subsite2/&lt;/A&gt; folder1/folder2/3.0 folder3/1.0 folder4/test_data /exampleExcelFile1.xlsx')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="error.png" style="width: 507px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11350i8EB29A4BF59026A1/image-size/large?v=v2&amp;amp;px=999" role="button" title="error.png" alt="error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the connection works but for some reason it won’t open the contents of the xlsx file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I missing here? And further what should I be doing to achieve this connection / load of data? I have been scouring resources up and down and have come up empty handed, so any help will be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Dec 2021 14:19:47 GMT</pubDate>
    <dc:creator>andreicatalin</dc:creator>
    <dc:date>2021-12-22T14:19:47Z</dc:date>
    <item>
      <title>Load data from multiple xlsx files from SharePoint folder</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-data-from-multiple-xlsx-files-from-SharePoint-folder/m-p/1576044#M3873</link>
      <description>&lt;P&gt;Hi there. I am going to try to be as descriptive as possible with this issue.&amp;nbsp;I have noticed there are a number of threads on similar / tangential matters, but none really appeared to resolve the issue I am facing.&lt;/P&gt;&lt;P&gt;I am relatively new to Qlik Sense (or View for that matter).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As the title suggests, the scenario is the following:&lt;/P&gt;&lt;P&gt;I am developing an app that relies on data :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;found in 'n' number of .xslx workbooks.&amp;nbsp;These&amp;nbsp;workbooks are structurally identical and from there the app loads 4 sheets, that, taken together form the bulk of the data set.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;these sheets reside on an internal SharePoint location.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;What I seek&amp;nbsp;to achieve is be able to have a connection to the SharePoint folder and load the 4 sheets from the 'n' number of workbooks present there.&lt;/P&gt;&lt;P&gt;I have established a REST connection to the SharePoint in question as such:&lt;/P&gt;&lt;P&gt;URL: &lt;A href="https://domain/subsite1/subsite2/_api/web/GetFolderByServerRelativeUrl" target="_blank"&gt;https://domain/subsite1/subsite2/_api/web/GetFolderByServerRelativeUrl&lt;/A&gt;(' folder1/folder2/3.0 folder3/1.0 folder4/test_data’)/Files&amp;nbsp;&lt;/P&gt;&lt;P&gt;Method: GET&lt;/P&gt;&lt;P&gt;Authentication: Windows NTLM&lt;/P&gt;&lt;P&gt;Connects fine to above. No pagination settings yet. What I can retrieve from the above is in effect a list of URLs for the files present there, as such:&lt;/P&gt;&lt;P&gt;&lt;A href="https://domain/subsite1/subsite2/_api/Web/GetFileByServerRelativeUrl('/subsite1/subsite2/" target="_blank"&gt;https://domain/subsite1/subsite2/_api/Web/GetFileByServerRelativeUrl('/subsite1/subsite2/&lt;/A&gt; folder1/folder2/3.0 folder3/1.0 folder4/test_data /exampleExcelFile1.xlsx')&lt;/P&gt;&lt;P&gt;&lt;A href="https://domain/subsite1/subsite2/_api/Web/GetFileByServerRelativeUrl('/subsite1/subsite2/" target="_blank"&gt;https://domain/subsite1/subsite2/_api/Web/GetFileByServerRelativeUrl('/subsite1/subsite2/&lt;/A&gt; folder1/folder2/3.0 folder3/1.0 folder4/test_data /exampleExcelFile2.xlsx')&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;I understand that one can't use a wildcard load, nor does a construct like the below work:&lt;/P&gt;&lt;P&gt;&amp;nbsp;Let vExcelFilePath = 'lib://[SharePoint Path]/test_data/*.xlsx';&lt;/P&gt;&lt;P&gt;For Each vFile In FileList('$(vExcelFilePath)')&lt;/P&gt;&lt;P&gt;Trace $(vFile);&lt;/P&gt;&lt;P&gt;exampleTable:&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Project ID" as d_ProjectID,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Project Name" as d_ProjectName&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;//whatever other fields&amp;nbsp;etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; From [$(vFile)](ooxml, embedded labels, table is ProjectData);&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Next vFile&lt;/P&gt;&lt;P&gt;My logic was to use the list pulled through the rest connector, loop through the ‘n’ number of excel URLs and load them via a looped Web File connection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But as I try to connect to, say,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://domain/subsite1/subsite2/_api/Web/GetFileByServerRelativeUrl('/subsite1/subsite2/" target="_blank"&gt;https://domain/subsite1/subsite2/_api/Web/GetFileByServerRelativeUrl('/subsite1/subsite2/&lt;/A&gt; folder1/folder2/3.0 folder3/1.0 folder4/test_data /exampleExcelFile1.xlsx')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="error.png" style="width: 507px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11350i8EB29A4BF59026A1/image-size/large?v=v2&amp;amp;px=999" role="button" title="error.png" alt="error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the connection works but for some reason it won’t open the contents of the xlsx file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I missing here? And further what should I be doing to achieve this connection / load of data? I have been scouring resources up and down and have come up empty handed, so any help will be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 14:19:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-data-from-multiple-xlsx-files-from-SharePoint-folder/m-p/1576044#M3873</guid>
      <dc:creator>andreicatalin</dc:creator>
      <dc:date>2021-12-22T14:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Load data from multiple xlsx files from SharePoint folder</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-data-from-multiple-xlsx-files-from-SharePoint-folder/m-p/1577413#M3897</link>
      <description>&lt;P&gt;I think the problem here is authentication. Your first REST connector (which loads the list of Excel files) is successful with Windows NTLM authentication required by Sharepoint. &lt;BR /&gt;&lt;BR /&gt;However, webfile connection (Load...From [$(vFile)]) does not support Windows NTLM authentication. Instead, it will try to reach the URL "https://domain/... /exampleExcelFile1.xlsx" with credentials of the service account running Qlik Sense Engine. It may then receive an http message saying authentication fails. Because the connection is looking for an Excel file, it flags this http response as "not contain any valid data".&lt;BR /&gt;&lt;BR /&gt;Qlik REST connector does not support loading Excel files. If you are loading from Sharepoint 365, you may consider using Qlik Office 365 Sharepoint Connector of Qlik Web Connectors (requires a license). This connector handles all the Sharepoint authentication steps for you.&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2019 12:54:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-data-from-multiple-xlsx-files-from-SharePoint-folder/m-p/1577413#M3897</guid>
      <dc:creator>Vu_Nguyen</dc:creator>
      <dc:date>2019-05-07T12:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Load data from multiple xlsx files from SharePoint folder</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-data-from-multiple-xlsx-files-from-SharePoint-folder/m-p/1649148#M4679</link>
      <description>&lt;P&gt;Hi, I like your explicite and detailed answer, but what about a soulution?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Qlik Sense, in sharepoint files are uploaded monthly, each with a new filename (various extensions) . How to load that data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;REST Connector, Web Connector?&amp;nbsp;&lt;/P&gt;&lt;P&gt;The files have to be read only once.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 13:56:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-data-from-multiple-xlsx-files-from-SharePoint-folder/m-p/1649148#M4679</guid>
      <dc:creator>punctum</dc:creator>
      <dc:date>2019-11-20T13:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: Load data from multiple xlsx files from SharePoint folder</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-data-from-multiple-xlsx-files-from-SharePoint-folder/m-p/1766377#M5588</link>
      <description>&lt;P&gt;Any body got answer to above requirement,i am also facing issue with same requirement as above.I have web connector and able to create connection to single file.But i need to load data from multiple excel file with one connection&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 17:01:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-data-from-multiple-xlsx-files-from-SharePoint-folder/m-p/1766377#M5588</guid>
      <dc:creator>AswainKumar</dc:creator>
      <dc:date>2020-12-04T17:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Load data from multiple xlsx files from SharePoint folder</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-data-from-multiple-xlsx-files-from-SharePoint-folder/m-p/1766404#M5590</link>
      <description>Hi!&lt;BR /&gt;Map sharepoint to a regular Drive or directory and use normal file access.&lt;BR /&gt;Read filenames into a variable and perform a loop on FieldValueList('xx')&lt;BR /&gt;That works. (easy)&lt;BR /&gt;Greetings,&lt;BR /&gt;Hartmut Schulte&lt;BR /&gt;Punctum KG&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Dec 2020 18:20:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-data-from-multiple-xlsx-files-from-SharePoint-folder/m-p/1766404#M5590</guid>
      <dc:creator>punctum</dc:creator>
      <dc:date>2020-12-04T18:20:30Z</dc:date>
    </item>
  </channel>
</rss>

