<?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: Detecting FileNames in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Detecting-FileNames/m-p/1718278#M54549</link>
    <description>&lt;P&gt;What about something like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Files: // only the header
LOAD * INLINE [
FileName
];

FOR EACH vFile in FileList([LIB://Folder/*.txt])

  CONCATENATE (Files)
  '$(vFile)' AS FileName
  AUTOGENERATE 1;

NEXT vFile&lt;/LI-CODE&gt;&lt;P&gt;And then repeate a FOR loop using the "Files" table.&lt;/P&gt;</description>
    <pubDate>Fri, 12 Jun 2020 12:37:45 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2020-06-12T12:37:45Z</dc:date>
    <item>
      <title>Detecting FileNames</title>
      <link>https://community.qlik.com/t5/App-Development/Detecting-FileNames/m-p/1709840#M54504</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have txt files around more than 500, but some of them are empty &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; , can i reveal which of them are empty txt files? i done something like that but couldnt achive it&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Set Error Mode = 0;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;a,&lt;/P&gt;&lt;P&gt;b,&lt;/P&gt;&lt;P&gt;c&lt;/P&gt;&lt;P&gt;FROM [lib://folder/*.txt]&lt;/P&gt;&lt;P&gt;if&amp;nbsp; ScriptError = 11 then&lt;/P&gt;&lt;P&gt;Load&amp;nbsp;&lt;/P&gt;&lt;P&gt;filename() as EmptyTxt&lt;/P&gt;&lt;P&gt;autogenerate 1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2020 16:03:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Detecting-FileNames/m-p/1709840#M54504</guid>
      <dc:creator>Runo_ooa</dc:creator>
      <dc:date>2020-06-10T16:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: Detecting FileNames</title>
      <link>https://community.qlik.com/t5/App-Development/Detecting-FileNames/m-p/1718278#M54549</link>
      <description>&lt;P&gt;What about something like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Files: // only the header
LOAD * INLINE [
FileName
];

FOR EACH vFile in FileList([LIB://Folder/*.txt])

  CONCATENATE (Files)
  '$(vFile)' AS FileName
  AUTOGENERATE 1;

NEXT vFile&lt;/LI-CODE&gt;&lt;P&gt;And then repeate a FOR loop using the "Files" table.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2020 12:37:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Detecting-FileNames/m-p/1718278#M54549</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2020-06-12T12:37:45Z</dc:date>
    </item>
  </channel>
</rss>

