<?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 command line and /v switch in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/command-line-and-v-switch/m-p/156181#M32142</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shouldnt you be using SET rather than LET (LET tries to evaluate the expression)?&lt;/P&gt;&lt;P&gt;Why can you not use the contents of the variable XML_TABLE directly anyway?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Feb 2010 15:12:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-02-23T15:12:43Z</dc:date>
    <item>
      <title>command line and /v switch</title>
      <link>https://community.qlik.com/t5/QlikView/command-line-and-v-switch/m-p/156180#M32141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a mess of xml files all with different names but same structure i need to load into Qlikview. I have a nice vbscript that searches a directory for xml files and passes the name of each file into Qlikview via the /v command line switch. Below is an example of a command line i'm trying to use.&lt;/P&gt;&lt;P&gt;"C:\Program Files\Qlikview 9.0\QV.EXE" /r /vXML_Table=L-0-1264676681640-5326.xml "C:\My Documents\Qlikview\LEAN.qvw"&lt;/P&gt;&lt;P&gt;Unfortunatly, it is not working. Qlikview opens and runs like usual, but variable XML_Table is not getting any value. The below LET statement is where I'm trying to pick up the variable the command line is passing:&lt;/P&gt;&lt;P&gt;&lt;B&gt;LET&lt;/B&gt; vXML = &lt;B&gt;&lt;I&gt;$(XML_Table)&lt;/I&gt;&lt;/B&gt;;&lt;/P&gt;&lt;P&gt;But as you can see from the log file excerpt below, vXML is not getting passed anything.&lt;/P&gt;&lt;P&gt;02/23/10 07:27:39: Execution started.&lt;BR /&gt;02/23/10 07:27:39: QlikView Version:9.00.7436.8&lt;BR /&gt;02/23/10 07:27:39: 0002 LET vLean = 'C:\My Documents\Lean\QVD'&lt;BR /&gt;02/23/10 07:27:39: 0004 LET vLeanXML = 'C:\My Documents\Lean\L-0-1264676681640-5326.xml'&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;02/23/10 07:27:39: 0006 LET vXML =&lt;/STRONG&gt;&lt;BR /&gt;&lt;/EM&gt; 02/23/10 07:27:39: 0008 ShippingStatusRecord:&lt;BR /&gt;02/23/10 07:27:39: 0009 LOAD&lt;BR /&gt;02/23/10 07:27:39: 0010 ShippingStatusID,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any one have any ideas where I'm going wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 14:09:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/command-line-and-v-switch/m-p/156180#M32141</guid>
      <dc:creator>gardan</dc:creator>
      <dc:date>2010-02-23T14:09:05Z</dc:date>
    </item>
    <item>
      <title>command line and /v switch</title>
      <link>https://community.qlik.com/t5/QlikView/command-line-and-v-switch/m-p/156181#M32142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shouldnt you be using SET rather than LET (LET tries to evaluate the expression)?&lt;/P&gt;&lt;P&gt;Why can you not use the contents of the variable XML_TABLE directly anyway?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 15:12:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/command-line-and-v-switch/m-p/156181#M32142</guid>
      <dc:creator />
      <dc:date>2010-02-23T15:12:43Z</dc:date>
    </item>
    <item>
      <title>command line and /v switch</title>
      <link>https://community.qlik.com/t5/QlikView/command-line-and-v-switch/m-p/156182#M32143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Forgot to mention...&lt;/P&gt;&lt;P&gt;If you want to process a folder contents for a certain type of file extension(s) within the script you can do so using a 'FOR EACH...NEXT' loop - have a look at the help.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 15:19:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/command-line-and-v-switch/m-p/156182#M32143</guid>
      <dc:creator />
      <dc:date>2010-02-23T15:19:08Z</dc:date>
    </item>
    <item>
      <title>command line and /v switch</title>
      <link>https://community.qlik.com/t5/QlikView/command-line-and-v-switch/m-p/156183#M32144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try *.xml in the FROM line.&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 15:36:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/command-line-and-v-switch/m-p/156183#M32144</guid>
      <dc:creator />
      <dc:date>2010-02-23T15:36:27Z</dc:date>
    </item>
    <item>
      <title>command line and /v switch</title>
      <link>https://community.qlik.com/t5/QlikView/command-line-and-v-switch/m-p/156184#M32145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wow, that is slicker than snot on a doorknob!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*.xml loaded up all 43 files one after the other and concatenated them. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 16:47:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/command-line-and-v-switch/m-p/156184#M32145</guid>
      <dc:creator>gardan</dc:creator>
      <dc:date>2010-02-23T16:47:42Z</dc:date>
    </item>
  </channel>
</rss>

