<?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 Re: How to LOAD files from a `for` loop in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-LOAD-files-from-a-for-loop/m-p/1768053#M59405</link>
    <description>&lt;P&gt;&lt;FONT color="#000000"&gt;Thank you&lt;/FONT&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/16186"&gt;@pradosh_thakur&lt;/a&gt;&amp;nbsp; &lt;FONT color="#000000"&gt;I did use&amp;nbsp;getFile and the&amp;nbsp;getFile URL is this&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;http://qlikselfservice:5555/data?connectorID=Office365Connector&amp;amp;table=GetFile&amp;amp;subSite=%2fsites%2fRootDir&amp;amp;fileId=v39mrxx7-c90a-4mn9-cc84-73e26k5002t3&amp;amp;appID=&amp;amp;loadAccessToken=owp8x0uwmm&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;In that&amp;nbsp;getFile&amp;nbsp;URL I went ahead and replaced:&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;fileId=v39mrxx7-c90a-4mn9-cc84-73e26k5002t3&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;with:&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;field=$(file_i)&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;so that the entire script looks like:&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;let&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;vQwcConnectionName&amp;nbsp;=&amp;nbsp;'lib://General sharepoint connector (userID123)';&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Office365Connector_ListFiles:&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;UniqueId&amp;nbsp;as&amp;nbsp;ListFiles_UniqueId,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;id&amp;nbsp;as&amp;nbsp;ListFiles_id&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;FROM&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;[$(vQwcConnectionName)]&lt;BR /&gt;(&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;URL IS&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;[http://qlikselfservice:5555/data?connectorID=Office365Connector&amp;amp;table=ListFiles&amp;amp;subSite=%2fsites%2fABC20140212073005&amp;amp;folder=%2fsites%2fSTS20140212073005%2fMSQR%2f2.+Reporting%2f2020-04&amp;amp;maxResults=40&amp;amp;appID=&amp;amp;loadAccessToken=mcd2x4lxzk],&amp;nbsp;qvx);&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;FOR&lt;/STRONG&gt; &lt;/FONT&gt;Each file_i in FieldValueList('TYPE')&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/FONT&gt; *&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/FONT&gt; [$(vQwcConnectionName)]&lt;BR /&gt;(&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;where url is&lt;/STRONG&gt; &lt;/FONT&gt;http://qlikselfservice:5555/data?connectorID=Office365Connector&amp;amp;table=GetFile&amp;amp;subSite=%2fsites%2fRootDir&amp;amp;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;fileId=$(file_i)&amp;amp;&lt;/STRONG&gt;&lt;/FONT&gt;appID=&amp;amp;loadAccessToken=owp8x0uwmm);&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;next&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;BUT, it doesn't work. I must still be doing something wrong? How do I fix this?&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Dec 2020 20:37:29 GMT</pubDate>
    <dc:creator>qlikdash2000</dc:creator>
    <dc:date>2020-12-11T20:37:29Z</dc:date>
    <item>
      <title>How to LOAD files from a `for` loop</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-LOAD-files-from-a-for-loop/m-p/1767037#M59346</link>
      <description>&lt;P&gt;&lt;FONT color="#000000"&gt;I've created a sheet in Qlik Sense with a table. The table lists all Excel files, through Web Connectors, that are located in an Office 365 SharePoint location. All Excel files are similar, based off the same template. On my Qlik Sense sheet I've chosen to list the unique ID for each file, and the path to the file. It looks like this:&lt;/FONT&gt;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;ListFiles_UniqueId&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;ListFiles_id&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1cccww47-1702-21be-9b07-8n23858205sy&lt;/TD&gt;&lt;TD&gt;&lt;A href="https://share.companyx.com/sites/STS20140212073005/_api/Web/GetFileByServerRelativePath(decodedurl='/sites/STS20140212073005/path/to/directory/file01.xlsx" target="_blank" rel="noopener"&gt;https://share.companyx.com/sites/ABC201402/.../file01.xlsx&lt;/A&gt;')&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;8tkt8kt8-rd54-hgfs-5ys5-ytjdtr45shs5&lt;/TD&gt;&lt;TD&gt;&lt;A href="https://share.companyx.com/sites/STS20140212073005/_api/Web/GetFileByServerRelativePath(decodedurl='/sites/STS20140212073005/path/to/directory/file01.xlsx" target="_blank" rel="noopener"&gt;https://share.companyx.com/sites/ABC201402/.../file02.xlsx&lt;/A&gt;&lt;A href="https://share.companyx.com/sites/STS20140212073005/_api/Web/GetFileByServerRelativePath(decodedurl='/sites/STS20140212073005/path/to/directory/file02.xlsx" target="_blank" rel="noopener"&gt;')&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2aag5hsn-26sr-57dd-26hs-6js5shs5hssh&lt;/TD&gt;&lt;TD&gt;&lt;A href="https://share.companyx.com/sites/STS20140212073005/_api/Web/GetFileByServerRelativePath(decodedurl='/sites/STS20140212073005/path/to/directory/file01.xlsx" target="_blank" rel="noopener"&gt;https://share.companyx.com/sites/ABC201402/.../file03.xlsx&lt;/A&gt;&lt;A href="https://share.companyx.com/sites/STS20140212073005/_api/Web/GetFileByServerRelativePath(decodedurl='/sites/STS20140212073005/path/to/directory/file03.xlsx" target="_blank" rel="noopener"&gt;')&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;...&lt;/TD&gt;&lt;TD&gt;...&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I've also got a `for` loop in my code. I want this `for` loop to combine all these Excel files, and all the sheets within each Excel file, into one giant table in Qlik. That will be my "master table". I thought the `for` syntax below would achieve this but it doesn't. In my&amp;nbsp;&lt;EM&gt;data model &lt;FONT color="#000000"&gt;viewer&lt;/FONT&gt;&lt;/EM&gt; I've only got one table, an `Office365Connector_ListFiles` table. I want another table in my data model viewer that is the aggregation of all my Excel files. It would have all the columns from my Excel workbooks (eg "Date", "Store", "Sales", etc.)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;What do I do? Here's the code:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#0000FF"&gt;let&lt;/FONT&gt; &lt;FONT color="#FF00FF"&gt;vQwcConnectionName&lt;/FONT&gt; = &lt;FONT color="#008000"&gt;'lib://General sharepoint connector (userID123)'&lt;/FONT&gt;;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#800080"&gt;Office365Connector_ListFiles:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;LOAD&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;FONT color="#993300"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;UniqueId&lt;/FONT&gt; as &lt;FONT color="#993300"&gt;ListFiles_UniqueId,&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;FONT color="#993300"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;id&lt;/FONT&gt; as &lt;FONT color="#993300"&gt;ListFiles_id&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;FROM&lt;/FONT&gt; [$(vQwcConnectionName)]&lt;BR /&gt;(&lt;FONT color="#0000FF"&gt;URL IS&lt;/FONT&gt; [&lt;A href="http://qlikselfservice:5555/data?connectorID=Office365Connector&amp;amp;table=ListFiles&amp;amp;subSite=%2fsites%2fABC20140212073005&amp;amp;folder=%2fsites%2fSTS20140212073005%2fMSQR%2f2.+Reporting%2f2020-04&amp;amp;maxResults=40&amp;amp;appID=&amp;amp;loadAccessToken=mcd2x4lxzk" target="_blank"&gt;http://qlikselfservice:5555/data?connectorID=Office365Connector&amp;amp;table=ListFiles&amp;amp;subSite=%2fsites%2fABC20140212073005&amp;amp;folder=%2fsites%2fSTS20140212073005%2fMSQR%2f2.+Reporting%2f2020-04&amp;amp;maxResults=40&amp;amp;appID=&amp;amp;loadAccessToken=mcd2x4lxzk&lt;/A&gt;], &lt;FONT color="#0000FF"&gt;qvx&lt;/FONT&gt;);&lt;/P&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;let vQwcConnectionName = 'lib://General sharepoint connector (userID123)'; Office365Connector_ListFiles: UniqueId as ListFiles_UniqueId, id as ListFiles_id FROM [$(vQwcConnectionName)] (URL IS [&lt;A href="http://qlikselfservice:5555/data?connectorID=Office365Connector&amp;amp;table=ListFiles&amp;amp;subSite=%2fsites%2fABC20140212073005&amp;amp;folder=%2fsites%2fSTS20140212073005%2fMSQR%2f2.+Reporting%2f2020-04&amp;amp;maxResults=40&amp;amp;appID=&amp;amp;loadAccessToken=mcd2x4lxzk" target="_blank"&gt;http://qlikselfservice:5555/data?connectorID=Office365Connector&amp;amp;table=ListFiles&amp;amp;subSite=%2fsites%2fABC20140212073005&amp;amp;folder=%2fsites%2fSTS20140212073005%2fMSQR%2f2.+Reporting%2f2020-04&amp;amp;maxResults=40&amp;amp;appID=&amp;amp;loadAccessToken=mcd2x4lxzk&lt;/A&gt;], qvx);&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#0000FF"&gt;for each &lt;FONT color="#FF00FF"&gt;file&lt;/FONT&gt; in filelist('&lt;FONT color="#008000"&gt;lib://vQwcConnectionName/path/to/directory/*.xlsx&lt;/FONT&gt;')&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;load * from [&lt;FONT color="#000000"&gt;$(file)]&lt;/FONT&gt;(xlsx); &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;next &lt;FONT color="#FF00FF"&gt;file&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:59:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-LOAD-files-from-a-for-loop/m-p/1767037#M59346</guid>
      <dc:creator>qlikdash2000</dc:creator>
      <dc:date>2024-11-16T00:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to LOAD files from a `for` loop</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-LOAD-files-from-a-for-loop/m-p/1767556#M59371</link>
      <description>&lt;P&gt;You are correct till here&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#0000FF"&gt;let&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#FF00FF"&gt;vQwcConnectionName&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;=&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#008000"&gt;'lib://General sharepoint connector (userID123)'&lt;/FONT&gt;;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#800080"&gt;Office365Connector_ListFiles:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;LOAD&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;FONT color="#993300"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;UniqueId&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;as&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#993300"&gt;ListFiles_UniqueId,&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;FONT color="#993300"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;id&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;as&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#993300"&gt;ListFiles_id&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;FROM&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;[$(vQwcConnectionName)]&lt;BR /&gt;(&lt;FONT color="#0000FF"&gt;URL IS&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;[http://qlikselfservice:5555/data?connectorID=Office365Connector&amp;amp;table=ListFiles&amp;amp;subSite=%2fsites%2fABC20140212073005&amp;amp;folder=%2fsites%2fSTS20140212073005%2fMSQR%2f2.+Reporting%2f2020-04&amp;amp;maxResults=40&amp;amp;appID=&amp;amp;loadAccessToken=mcd2x4lxzk],&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#0000FF"&gt;qvx&lt;/FONT&gt;);&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Then load one file from the listed files above using get file an copy paste the code, there would be a parameter field in the url, you have to pass a variable t fetch that. enclose them between like below&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;&lt;STRONG&gt;FOR Each file_i in FieldValueList('TYPE')&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;load * from [ your connection name etc](where url is ...... &lt;STRONG&gt;field=$(file_i)&lt;/STRONG&gt;&amp;amp;...... token = .....);&lt;/EM&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;STRONG&gt;&lt;EM&gt;next&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 08:03:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-LOAD-files-from-a-for-loop/m-p/1767556#M59371</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2020-12-10T08:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to LOAD files from a `for` loop</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-LOAD-files-from-a-for-loop/m-p/1768053#M59405</link>
      <description>&lt;P&gt;&lt;FONT color="#000000"&gt;Thank you&lt;/FONT&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/16186"&gt;@pradosh_thakur&lt;/a&gt;&amp;nbsp; &lt;FONT color="#000000"&gt;I did use&amp;nbsp;getFile and the&amp;nbsp;getFile URL is this&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;http://qlikselfservice:5555/data?connectorID=Office365Connector&amp;amp;table=GetFile&amp;amp;subSite=%2fsites%2fRootDir&amp;amp;fileId=v39mrxx7-c90a-4mn9-cc84-73e26k5002t3&amp;amp;appID=&amp;amp;loadAccessToken=owp8x0uwmm&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;In that&amp;nbsp;getFile&amp;nbsp;URL I went ahead and replaced:&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;fileId=v39mrxx7-c90a-4mn9-cc84-73e26k5002t3&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;with:&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;field=$(file_i)&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;so that the entire script looks like:&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;let&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;vQwcConnectionName&amp;nbsp;=&amp;nbsp;'lib://General sharepoint connector (userID123)';&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Office365Connector_ListFiles:&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;UniqueId&amp;nbsp;as&amp;nbsp;ListFiles_UniqueId,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;id&amp;nbsp;as&amp;nbsp;ListFiles_id&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;FROM&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;[$(vQwcConnectionName)]&lt;BR /&gt;(&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;URL IS&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;[http://qlikselfservice:5555/data?connectorID=Office365Connector&amp;amp;table=ListFiles&amp;amp;subSite=%2fsites%2fABC20140212073005&amp;amp;folder=%2fsites%2fSTS20140212073005%2fMSQR%2f2.+Reporting%2f2020-04&amp;amp;maxResults=40&amp;amp;appID=&amp;amp;loadAccessToken=mcd2x4lxzk],&amp;nbsp;qvx);&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;FOR&lt;/STRONG&gt; &lt;/FONT&gt;Each file_i in FieldValueList('TYPE')&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/FONT&gt; *&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/FONT&gt; [$(vQwcConnectionName)]&lt;BR /&gt;(&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;where url is&lt;/STRONG&gt; &lt;/FONT&gt;http://qlikselfservice:5555/data?connectorID=Office365Connector&amp;amp;table=GetFile&amp;amp;subSite=%2fsites%2fRootDir&amp;amp;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;fileId=$(file_i)&amp;amp;&lt;/STRONG&gt;&lt;/FONT&gt;appID=&amp;amp;loadAccessToken=owp8x0uwmm);&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;next&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;BUT, it doesn't work. I must still be doing something wrong? How do I fix this?&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2020 20:37:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-LOAD-files-from-a-for-loop/m-p/1768053#M59405</guid>
      <dc:creator>qlikdash2000</dc:creator>
      <dc:date>2020-12-11T20:37:29Z</dc:date>
    </item>
  </channel>
</rss>

