<?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 How to load multiple QVS files using Must_Include? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-load-multiple-QVS-files-using-Must-Include/m-p/1992972#M82165</link>
    <description>&lt;P&gt;Hi fokls,&lt;/P&gt;
&lt;P&gt;I have a folder with several QVS files and I want to load all them at once in Qlik Sense.&lt;/P&gt;
&lt;P&gt;I'm trying to use must include, but I see that I have to specify the file name, that is not my purpose.&lt;/P&gt;
&lt;P&gt;The script below works, but I added the full file name:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;$(Must_Include=[lib://LATAM Qlikview Storage/IT/3.Include/Scripts/&lt;FONT color="#339966"&gt;code1&lt;/FONT&gt;.qvs]);&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I want to load all qvs files from a folder, but the following format does not work as it works for instance for csv files during the load script.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;$(Must_Include=[lib://LATAM Qlikview Storage/IT/3.Include/Scripts/&lt;FONT color="#FF0000"&gt;*.qvs&lt;/FONT&gt;]);&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I think I have to add the Must_Include statement into a loop, but I don't really know the best practice do load all files at once using Must_Include.&lt;/P&gt;
&lt;P&gt;Could you please help?&lt;/P&gt;
&lt;P&gt;Tks&lt;/P&gt;
&lt;P&gt;Rubens&lt;/P&gt;</description>
    <pubDate>Fri, 14 Oct 2022 21:01:09 GMT</pubDate>
    <dc:creator>rrodriguesrr82</dc:creator>
    <dc:date>2022-10-14T21:01:09Z</dc:date>
    <item>
      <title>How to load multiple QVS files using Must_Include?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-load-multiple-QVS-files-using-Must-Include/m-p/1992972#M82165</link>
      <description>&lt;P&gt;Hi fokls,&lt;/P&gt;
&lt;P&gt;I have a folder with several QVS files and I want to load all them at once in Qlik Sense.&lt;/P&gt;
&lt;P&gt;I'm trying to use must include, but I see that I have to specify the file name, that is not my purpose.&lt;/P&gt;
&lt;P&gt;The script below works, but I added the full file name:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;$(Must_Include=[lib://LATAM Qlikview Storage/IT/3.Include/Scripts/&lt;FONT color="#339966"&gt;code1&lt;/FONT&gt;.qvs]);&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I want to load all qvs files from a folder, but the following format does not work as it works for instance for csv files during the load script.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;$(Must_Include=[lib://LATAM Qlikview Storage/IT/3.Include/Scripts/&lt;FONT color="#FF0000"&gt;*.qvs&lt;/FONT&gt;]);&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I think I have to add the Must_Include statement into a loop, but I don't really know the best practice do load all files at once using Must_Include.&lt;/P&gt;
&lt;P&gt;Could you please help?&lt;/P&gt;
&lt;P&gt;Tks&lt;/P&gt;
&lt;P&gt;Rubens&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2022 21:01:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-load-multiple-QVS-files-using-Must-Include/m-p/1992972#M82165</guid>
      <dc:creator>rrodriguesrr82</dc:creator>
      <dc:date>2022-10-14T21:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to load multiple QVS files using Must_Include?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-load-multiple-QVS-files-using-Must-Include/m-p/1994162#M82272</link>
      <description>&lt;P&gt;it is possible to loop to the qvs files and do a must include.&lt;/P&gt;
&lt;P&gt;please take a look at the following link. example 2 might explain what you need.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense/May2021/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptControlStatements/For%20Each.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/May2021/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptControlStatements/For%20Each.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 20:12:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-load-multiple-QVS-files-using-Must-Include/m-p/1994162#M82272</guid>
      <dc:creator>MartW</dc:creator>
      <dc:date>2022-10-18T20:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to load multiple QVS files using Must_Include?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-load-multiple-QVS-files-using-Must-Include/m-p/1994171#M82275</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6290"&gt;@rrodriguesrr82&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;im afrraid that's not going to work&lt;BR /&gt;you will need to first recover the file list from folder&lt;/P&gt;
&lt;P&gt;and then include one by one&lt;/P&gt;
&lt;P&gt;something like&lt;/P&gt;
&lt;PRE&gt;sub DoDir (Root)&lt;BR /&gt;for each Ext in 'qvs'&lt;BR /&gt;&lt;BR /&gt;for each File in filelist (Root&amp;amp;'\*.' &amp;amp;Ext)&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;$(Must_Include=[$(File)]);&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;next File&lt;BR /&gt;&lt;BR /&gt;next Ext&lt;BR /&gt;for each Dir in dirlist (Root&amp;amp;'\*' )&lt;BR /&gt;&lt;BR /&gt;call DoDir (Dir)&lt;BR /&gt;&lt;BR /&gt;next Dir&lt;BR /&gt;&lt;BR /&gt;end sub&lt;BR /&gt;&lt;BR /&gt;call DoDir ('&lt;STRONG&gt;lib://LATAM Qlikview Storage/IT/3.Include/Scripts&lt;/STRONG&gt;')&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;could have some syntax error, couldnt tried.&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 20:40:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-load-multiple-QVS-files-using-Must-Include/m-p/1994171#M82275</guid>
      <dc:creator>RafaelBarrios</dc:creator>
      <dc:date>2022-10-18T20:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to load multiple QVS files using Must_Include?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-load-multiple-QVS-files-using-Must-Include/m-p/1994632#M82333</link>
      <description>&lt;P&gt;Thank you guys!!&lt;/P&gt;
&lt;P&gt;I followed your recommendation and created the script below and worked:&lt;/P&gt;
&lt;P&gt;For Each vs.File in FileList ('lib://LATAM Qlikview Storage/folder/*.qvs')&lt;BR /&gt;$(must_include=$(vs.File));&lt;BR /&gt;Next vs.File; vs.File=;&lt;/P&gt;
&lt;P&gt;Tks&lt;/P&gt;
&lt;P&gt;Rubens&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 18:02:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-load-multiple-QVS-files-using-Must-Include/m-p/1994632#M82333</guid>
      <dc:creator>rrodriguesrr82</dc:creator>
      <dc:date>2022-10-19T18:02:15Z</dc:date>
    </item>
  </channel>
</rss>

