<?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: Load a directory of XLSX from a webpage? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-a-directory-of-XLSX-from-a-webpage/m-p/1346003#M414157</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are on the right track. Problem is in your loop of the Filenames. Filenames is a QV table with n rows, with the field of interest being "Webfile". So you'll need a loop that processes each row of the Filenames table and extracts the value of the "Webfile" field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;For idx = 0 to NoOfRows('Filenames')-1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; LET vCurrentFile = peek('Webfile', $(idx), 'Filenames');&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; Concatenate (Fact) &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; LOAD&amp;nbsp; *&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; FROM&amp;nbsp; [$(vDirectory)&amp;amp;$(vCurrentFile)]&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; (ooxml, embedded labels, table is [Detail]);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;next idx&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Jun 2017 04:26:26 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2017-06-23T04:26:26Z</dc:date>
    <item>
      <title>Load a directory of XLSX from a webpage?</title>
      <link>https://community.qlik.com/t5/QlikView/Load-a-directory-of-XLSX-from-a-webpage/m-p/1346000#M414154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a sharepoint site with a couple directories full of XLSX documents I'd like to load into a table.&amp;nbsp; I can successfully use the Webfiles wizard to load the data in one file, so I have permission to reach the location.&amp;nbsp; But I'd like to load all the docs (incluing those added in future, who's names I don't yet know), and I don't see a means to do so.&amp;nbsp; Anyone have different results, let me know what's wrong with my syntax!&amp;nbsp; What other commands might do the trick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wildcard:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;Load *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;&lt;SPAN&gt;From [&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://sharepoint/directory/*.xlsx](ooxml" rel="nofollow" target="_blank"&gt;https://sharepoint/directory/*.xlsx](ooxml&lt;/A&gt;&lt;SPAN&gt;, embedded labels, table is [Detail]);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This gives a zip error.&amp;nbsp; The internet suggests change ooxml to biff, but that just is the difference between xls and xlsx, as far as I see, and doesn't load the files either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FileList:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;&lt;SPAN&gt;For each vFile in FileList('&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://sharepoint/directory/*.xlsx" rel="nofollow" target="_blank"&gt;https://sharepoint/directory/*.xlsx&lt;/A&gt;&lt;SPAN&gt;')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;Fact:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;from&amp;nbsp; $(vFile)&amp;nbsp; (ooxml, embedded labels, table is [Gross Pipeline Detail]);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;Next vFile;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;No errors, no data (doesn't create a FACT at all.&amp;nbsp; Seems to not actually try to load files.&amp;nbsp; Other community posts imply Filelist doesn't work for websites, support didn't know this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ScanFolder&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;FactTemp:&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;Load '' as Temp AutoGenerate 0;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;&lt;SPAN&gt;Set vDirectory =[&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://sharepoint/directory/];" rel="nofollow" target="_blank"&gt;https://sharepoint/directory/];&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;sub ScanFolder($(vDirectory))&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for each FileExtension in 'xlsx'&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for each FoundFile in filelist( Root &amp;amp; '/*.' &amp;amp; FileExtension)&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Concatenate (FactTemp)&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM [$(FoundFile)]&amp;nbsp; (ooxml, embedded labels, table is [Gross Pipeline Detail]);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; next FoundFile&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; next FileExtension&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;for each SubDirectory in dirlist( $(vDirectory) &amp;amp; '/*' )&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call ScanFolder(SubDirectory)&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;next SubDirectory&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;end sub; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Throws a script line error on the Scanfolder - also doesn't work on web&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What other ideas are out there?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 18:18:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-a-directory-of-XLSX-from-a-webpage/m-p/1346000#M414154</guid>
      <dc:creator>tripwireqv</dc:creator>
      <dc:date>2017-06-22T18:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Load a directory of XLSX from a webpage?</title>
      <link>https://community.qlik.com/t5/QlikView/Load-a-directory-of-XLSX-from-a-webpage/m-p/1346001#M414155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As you've discovered, you can't use a wildcard in a load from an http source.&amp;nbsp; Instead , you have to build a list of files and then loop through those files using a FOR loop, converting the filename to the full URL for the LOAD...From.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first trick is to get a list of files. Two options to try:&lt;/P&gt;&lt;P&gt;1. Load the directory page as an HTML page using the webfile wizard. If you can load the list as a table, you are good to build the FOR loop. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Another approach I've used is to use an FTP link with the webfile wizard to get a list of files in the directory. FTP is unlikely to work with sharepoint though. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 18:40:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-a-directory-of-XLSX-from-a-webpage/m-p/1346001#M414155</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2017-06-22T18:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Load a directory of XLSX from a webpage?</title>
      <link>https://community.qlik.com/t5/QlikView/Load-a-directory-of-XLSX-from-a-webpage/m-p/1346002#M414156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I have not yet been successful, but I can generate a list of file names.&amp;nbsp; I suspect my problem is syntax in the FOR EACH statement.&amp;nbsp; It runs through the FACT load, and then just hangs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Set vDirectory =[&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://Sharepoint/Directory];" rel="nofollow" target="_blank"&gt;https://Sharepoint/Directory];&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Filenames:&lt;/P&gt;&lt;P&gt;LOAD left(FileText,29) &amp;amp; '.xlsx' as FileName, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mid(FileText, 20,10) as CreateDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Trim(Replace(left(FileText,29) &amp;amp; '.xlsx',' ','20%')) as Webfile,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ModifiedDate &lt;/P&gt;&lt;P&gt;FROM $(vDirectory)&lt;/P&gt;&lt;P&gt;(html, codepage is 1252, embedded labels, table is @6, filters(&lt;/P&gt;&lt;P&gt;Top(3, 'FileText'),&lt;/P&gt;&lt;P&gt;Top(4, 'ModifiedDate')&lt;/P&gt;&lt;P&gt;));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fact:&amp;nbsp; &lt;/P&gt;&lt;P&gt;Load '' as Temp AutoGenerate 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;For each Webfile in Filenames&lt;/P&gt;&lt;P&gt; set vCurrentFile = $(Webfile)&lt;/P&gt;&lt;P&gt; Concatenate (Fact)&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; LOAD&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; FROM&amp;nbsp; [$(vDirectory)&amp;amp;$(vCurrentFile)]&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;---&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; (ooxml, embedded labels, table is [Detail]);&lt;/P&gt;&lt;P&gt;next Webfile;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 22:36:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-a-directory-of-XLSX-from-a-webpage/m-p/1346002#M414156</guid>
      <dc:creator>tripwireqv</dc:creator>
      <dc:date>2017-06-22T22:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: Load a directory of XLSX from a webpage?</title>
      <link>https://community.qlik.com/t5/QlikView/Load-a-directory-of-XLSX-from-a-webpage/m-p/1346003#M414157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are on the right track. Problem is in your loop of the Filenames. Filenames is a QV table with n rows, with the field of interest being "Webfile". So you'll need a loop that processes each row of the Filenames table and extracts the value of the "Webfile" field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;For idx = 0 to NoOfRows('Filenames')-1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; LET vCurrentFile = peek('Webfile', $(idx), 'Filenames');&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; Concatenate (Fact) &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; LOAD&amp;nbsp; *&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; FROM&amp;nbsp; [$(vDirectory)&amp;amp;$(vCurrentFile)]&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; (ooxml, embedded labels, table is [Detail]);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;next idx&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 04:26:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-a-directory-of-XLSX-from-a-webpage/m-p/1346003#M414157</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2017-06-23T04:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: Load a directory of XLSX from a webpage?</title>
      <link>https://community.qlik.com/t5/QlikView/Load-a-directory-of-XLSX-from-a-webpage/m-p/1346004#M414158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am hoping this is still just syntax problems, but I'm back to getting Bad Zip File errors.&amp;nbsp; Have yet to prove this functions (though it looks good.)&amp;nbsp; I'm assuming it's this line being the problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; FROM&amp;nbsp; [$(vDirectory)&amp;amp;$(vCurrentFile)] &lt;SPAN style="font-family: 'courier new', courier;"&gt;(ooxml, embedded labels, table is [Detail]);&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I've gone with &amp;amp; without the "&amp;amp;", with a final "/" in the vDirectory variable and with it built in the FROM statement and without it at all.&amp;nbsp; The log and error message replace the variables with their values, and the resulting string looks correct in my current view, but I'm still getting Bad Zip.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 16:17:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-a-directory-of-XLSX-from-a-webpage/m-p/1346004#M414158</guid>
      <dc:creator>tripwireqv</dc:creator>
      <dc:date>2017-06-23T16:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: Load a directory of XLSX from a webpage?</title>
      <link>https://community.qlik.com/t5/QlikView/Load-a-directory-of-XLSX-from-a-webpage/m-p/1346005#M414159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is that the same FROM statement you get when you successfully load a single file using the wizard?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 17:22:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-a-directory-of-XLSX-from-a-webpage/m-p/1346005#M414159</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2017-06-23T17:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Load a directory of XLSX from a webpage?</title>
      <link>https://community.qlik.com/t5/QlikView/Load-a-directory-of-XLSX-from-a-webpage/m-p/1346006#M414160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yup.&amp;nbsp; Looks to be the same file, just doesn't work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 17:45:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-a-directory-of-XLSX-from-a-webpage/m-p/1346006#M414160</guid>
      <dc:creator>tripwireqv</dc:creator>
      <dc:date>2017-06-23T17:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Load a directory of XLSX from a webpage?</title>
      <link>https://community.qlik.com/t5/QlikView/Load-a-directory-of-XLSX-from-a-webpage/m-p/1346007#M414161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wait, no, I found a misplaced character.&amp;nbsp; I think I have it!&amp;nbsp; Thanks for sticking with me, Rob!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 17:51:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-a-directory-of-XLSX-from-a-webpage/m-p/1346007#M414161</guid>
      <dc:creator>tripwireqv</dc:creator>
      <dc:date>2017-06-23T17:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Load a directory of XLSX from a webpage?</title>
      <link>https://community.qlik.com/t5/QlikView/Load-a-directory-of-XLSX-from-a-webpage/m-p/1575565#M442511</link>
      <description>&lt;P&gt;Does this method work with qlik sense?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to do exactly the same task for a qlik sense app i am developing.&lt;/P&gt;&lt;P&gt;I am connected to the sharepoint via the REST connector.&lt;/P&gt;&lt;P&gt;I have a test folder with 6 xlsx files from which i need to load 4 tabs (structurally identical). any insight as to how to go about doing in?&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2019 17:01:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-a-directory-of-XLSX-from-a-webpage/m-p/1575565#M442511</guid>
      <dc:creator>andreicatalin</dc:creator>
      <dc:date>2019-05-01T17:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Load a directory of XLSX from a webpage?</title>
      <link>https://community.qlik.com/t5/QlikView/Load-a-directory-of-XLSX-from-a-webpage/m-p/1736524#M452661</link>
      <description>&lt;P&gt;&lt;FONT size="4"&gt;Hi Rob,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="4"&gt;could you please help on where I am going wrong.. I have the share point within the network.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="4"&gt;I have folders setup like DEV,QA,PRD - I want to load all of the .xlsx files in say DEV folder into a table in Qlikview&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="4"&gt;&lt;FONT color="#0000ff"&gt;&lt;STRONG&gt;Set&lt;/STRONG&gt;&lt;/FONT&gt; vDirectory = '&lt;A href="https://sp.Company123.net/sites2/spqtfsvl/TrueStore%20Management/BCI/Reports%20-%20BCI%20-%20DEV" target="_blank"&gt;https://sp.Company123.net/sites2/spqtfsvl/TrueStore%20Management/BCI/Reports%20-%20BCI%20-%20DEV&lt;/A&gt;';&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Filenames:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#0000ff"&gt;LOAD&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff"&gt;left&lt;/FONT&gt;(&lt;FONT color="#800000"&gt;FileText&lt;/FONT&gt;,10) &amp;amp; '.xlsx' &lt;FONT color="#0000ff"&gt;as&lt;/FONT&gt; &lt;FONT color="#800000"&gt;FileName&lt;/FONT&gt;,&lt;BR /&gt;&lt;FONT color="#008000"&gt;//mid(FileText, 20,10) as CreateDate,&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;//Trim(Replace(left(FileText,29) &amp;amp; '.xlsx',' ','20%')) as Webfile,&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#800000"&gt;ModifiedDate&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#0000ff"&gt;FROM&lt;/FONT&gt; &lt;STRONG&gt;&lt;I&gt;&lt;FONT color="#808080"&gt;$(vDirectory)&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt; (&lt;FONT color="#0000ff"&gt;html&lt;/FONT&gt;, &lt;FONT color="#0000ff"&gt;codepage&lt;/FONT&gt; &lt;FONT color="#0000ff"&gt;is&lt;/FONT&gt; 1252, &lt;FONT color="#0000ff"&gt;embedded&lt;/FONT&gt; &lt;FONT color="#0000ff"&gt;labels&lt;/FONT&gt;); &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I cannot get the first step that is getting the list of all .xlsx files into my table called FileNames - the error is FileText is not found - any help - once I get the list have to load each file into a table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 22:16:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-a-directory-of-XLSX-from-a-webpage/m-p/1736524#M452661</guid>
      <dc:creator>QlikviewRaj11</dc:creator>
      <dc:date>2020-08-17T22:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Load a directory of XLSX from a webpage?</title>
      <link>https://community.qlik.com/t5/QlikView/Load-a-directory-of-XLSX-from-a-webpage/m-p/1766995#M454327</link>
      <description>&lt;P&gt;Hi Raj,&lt;/P&gt;&lt;P&gt;One solution to this could be to use the XML view of the SharePoint directory to build a table of the files for you to loop through. If the directory was created within SharePoint, then while viewing the SharePoint directory in a web browser, use the Library Tab &amp;gt; Export to Excel option - this will generate an owssvr.iqy file which you can open in a text editor (don't open it in excel). The web address on line 3 of the file will direct you to an XML view of the folder which you can get Qlikview to read in as a list of the files to loop through.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;FileNames:&lt;BR /&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT size="1" color="#0000ff"&gt;LOAD&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT size="1" color="#800000"&gt;ows_DocIcon&lt;/FONT&gt;&lt;FONT size="1"&gt;,&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;ows_LinkFilename&lt;/FONT&gt;&lt;FONT size="1"&gt;,&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;ows_Modified&lt;/FONT&gt;&lt;FONT size="1"&gt;,&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;ows_Editor&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;FROM&lt;/FONT&gt; &lt;FONT size="1" color="#800000"&gt;[http://YourCompanySharePoint/_vti_bin/owssvr.dll?XMLDATA=1&amp;amp;List={00000000-0000-0000-0000-000000000000}&amp;amp;View={0000000-0000-0000-0000-000000000000}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1" color="#800000"&gt;&amp;amp;RowLimit=0&amp;amp;RootFolder=XYZ]&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT size="1" color="#008000"&gt;//URL from owssvr.iqy &lt;/FONT&gt;&lt;BR /&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;XmlSimple&lt;/FONT&gt;&lt;FONT size="1"&gt;, &lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;Table&lt;/FONT&gt; &lt;FONT size="1" color="#0000ff"&gt;is&lt;/FONT&gt; &lt;FONT size="1" color="#800000"&gt;[xml/data/row]&lt;/FONT&gt;&lt;FONT size="1"&gt;);&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT size="1" color="#0000ff"&gt;LET&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT size="1"&gt; vNumberOfRows = &lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;NoOfRows&lt;/FONT&gt;&lt;FONT size="1"&gt;(FileNames);&lt;BR /&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT size="1" color="#0000ff"&gt;FOR&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT size="1"&gt; vI = 0 &lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;to&lt;/FONT&gt;&lt;FONT size="1"&gt; (&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;vNumberOfRows&lt;/FONT&gt;&lt;FONT size="1"&gt; - 1)&lt;BR /&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT size="1" color="#0000ff"&gt;LET&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT size="1"&gt; vFileName = &lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;Peek&lt;/FONT&gt;&lt;FONT size="1"&gt;('ows_LinkFilename',&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;vI&lt;/FONT&gt;&lt;FONT size="1"&gt;,'FileNames');&lt;BR /&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT size="1" color="#0000ff"&gt;SET&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT size="1"&gt; vFilePath = 'http://YourCompanySharePoint/Folder/$(vFileName)'; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1" color="#008000"&gt;//load file here&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="1" color="#0000ff"&gt;NEXT&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT size="1"&gt;; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 12:42:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-a-directory-of-XLSX-from-a-webpage/m-p/1766995#M454327</guid>
      <dc:creator>hastiecraig</dc:creator>
      <dc:date>2020-12-08T12:42:14Z</dc:date>
    </item>
  </channel>
</rss>

