<?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 arguments in qlickview in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Command-line-arguments-in-qlickview/m-p/297719#M1199597</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You will need to add the user with NTNAME field instead of USERID and password, since you cannot pass these parameters on the application so the section access validates the user that has logged on to the computer.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Feb 2011 20:54:02 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2011-02-03T20:54:02Z</dc:date>
    <item>
      <title>Command line arguments in qlickview</title>
      <link>https://community.qlik.com/t5/QlikView/Command-line-arguments-in-qlickview/m-p/297711#M1199586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to pass the db connection as commandline argument to QV file.&lt;/P&gt;&lt;P&gt;/*********************************/&lt;/P&gt;&lt;P&gt;&lt;B&gt;"D:\CLICKVIEW\QlikView\Qv.exe" /l /vvar1=D:\cust_rep_1d.swt D:\qlickview\Copy of rpt_datafile1.qvw&lt;BR /&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;/*********************************/&lt;/P&gt;&lt;P&gt;This above line of code wrks for me... Its a .bat file code..&lt;/P&gt;&lt;P&gt;BUT if i have to promt the user for i/p and accept that params then?&lt;/P&gt;&lt;P&gt;The below written code is not wrking for me... can anyone plz help.&lt;/P&gt;&lt;P&gt;/*********************************/&lt;/P&gt;&lt;P&gt;@echo off&lt;BR /&gt;&lt;BR /&gt;echo "database connection"&lt;BR /&gt;set /p DBNAME=&lt;BR /&gt;&lt;BR /&gt;echo %UserName% %PassWord%&lt;BR /&gt; "D:\CLICKVIEW\QlikView\Qv.exe" /l /v var1= %DBNAME D:\qlickview\Copy of rpt_datafile1.qvw&lt;/P&gt;&lt;P&gt;/*********************************/&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prajakta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Dec 2010 09:25:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Command-line-arguments-in-qlickview/m-p/297711#M1199586</guid>
      <dc:creator />
      <dc:date>2010-12-31T09:25:55Z</dc:date>
    </item>
    <item>
      <title>Command line arguments in qlickview</title>
      <link>https://community.qlik.com/t5/QlikView/Command-line-arguments-in-qlickview/m-p/297712#M1199587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Prajakta,&lt;/P&gt;&lt;P&gt;Instead of doing that in the batch code, do it script side&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;LET vUser = Input('Please type User', 'Check this!');LET vPassword = Input('Please type Password', 'Check this!');&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;This will prompt the user for user and password and will store the result in those variables. You can use them further in the script.&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Dec 2010 09:42:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Command-line-arguments-in-qlickview/m-p/297712#M1199587</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-12-31T09:42:04Z</dc:date>
    </item>
    <item>
      <title>Command line arguments in qlickview</title>
      <link>https://community.qlik.com/t5/QlikView/Command-line-arguments-in-qlickview/m-p/297713#M1199588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;I tried this,it works.... learned new thing.&lt;/P&gt;&lt;P&gt;However the requirement is they want to pass the uname &amp;amp; pwd before opening the report.. via command line.&lt;/P&gt;&lt;P&gt;if I give:&lt;/P&gt;&lt;P&gt;"D:\CLICKVIEW\QlikView\Qv.exe" /l /vvar1=D:\cust_rep_1d.swt D:\qlickview\Copy of rpt_datafile1.qvw&lt;/P&gt;&lt;P&gt;Where "&lt;B&gt;D:\cust_rep_1d.swt&lt;/B&gt;" is the db file name--&amp;gt; then it works.&lt;/P&gt;&lt;P&gt;But how can i pass the same taking the i/p from user...&lt;/P&gt;&lt;P&gt;Would be great if you can provide any i/ps on this.&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Dec 2010 09:52:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Command-line-arguments-in-qlickview/m-p/297713#M1199588</guid>
      <dc:creator />
      <dc:date>2010-12-31T09:52:50Z</dc:date>
    </item>
    <item>
      <title>Command line arguments in qlickview</title>
      <link>https://community.qlik.com/t5/QlikView/Command-line-arguments-in-qlickview/m-p/297714#M1199592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the recently created variables for that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;SET /P UserName=Enter User NameSET /P UserPassword=Enter User Password"D:\CLICKVIEW\QlikView\Qv.exe" /l /vvar1=D:\cust_rep_1d.swt &lt;STRONG&gt;/vvUser=%UserName% /vvPassword=%UserPassword%&lt;/STRONG&gt; D:\qlickview\Copy of rpt_datafile1.qvw&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope that helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Dec 2010 10:17:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Command-line-arguments-in-qlickview/m-p/297714#M1199592</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-12-31T10:17:35Z</dc:date>
    </item>
    <item>
      <title>Command line arguments in qlickview</title>
      <link>https://community.qlik.com/t5/QlikView/Command-line-arguments-in-qlickview/m-p/297715#M1199593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this example given by you:&lt;/P&gt;&lt;PRE style="margin:0px;"&gt;"D:\CLICKVIEW\QlikView\Qv.exe" /l /vvar1=D:\cust_rep_1d.swt &lt;STRONG&gt;/vvUser=%UserName% /vvPassword=%UserPassword%&lt;/STRONG&gt; D:\qlickview\Copy of rpt_datafile1.qvw&lt;BR /&gt;&lt;BR /&gt;can you please elaborate what does &lt;STRONG&gt;&lt;STRONG&gt;vUser&lt;/STRONG&gt;&lt;/STRONG&gt; means ?&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;STRONG&gt;Do we need to create vUser&lt;/STRONG&gt;&lt;/STRONG&gt; &amp;amp; &lt;STRONG&gt;&lt;STRONG&gt;vPassword&lt;/STRONG&gt;&lt;/STRONG&gt; as variables in the reports 1st.&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Dec 2010 12:59:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Command-line-arguments-in-qlickview/m-p/297715#M1199593</guid>
      <dc:creator />
      <dc:date>2010-12-31T12:59:17Z</dc:date>
    </item>
    <item>
      <title>Command line arguments in qlickview</title>
      <link>https://community.qlik.com/t5/QlikView/Command-line-arguments-in-qlickview/m-p/297716#M1199594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also How do ido it for database file name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Dec 2010 13:01:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Command-line-arguments-in-qlickview/m-p/297716#M1199594</guid>
      <dc:creator />
      <dc:date>2010-12-31T13:01:22Z</dc:date>
    </item>
    <item>
      <title>Command line arguments in qlickview</title>
      <link>https://community.qlik.com/t5/QlikView/Command-line-arguments-in-qlickview/m-p/297717#M1199595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;vUser and vPassword are variables that store what the user inputs when he's prompted by set /p.&lt;/P&gt;&lt;P&gt;I don't know which driver are you using to connect, so I don't know what do you need the user for. My guess is that you have a CONNECT string in your load script that must be completed with the information provided by the user, but anyway it would be faster if you first create your connection string in QlikView, the paste it here (scrambling user and password) so we know how it would look like.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Dec 2010 13:14:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Command-line-arguments-in-qlickview/m-p/297717#M1199595</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-12-31T13:14:57Z</dc:date>
    </item>
    <item>
      <title>Command line arguments in qlickview</title>
      <link>https://community.qlik.com/t5/QlikView/Command-line-arguments-in-qlickview/m-p/297718#M1199596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel, I'm doing this with section access. I want that the application don't ask for user id and password. I'm passing the parameters but it continues asking for the userid and password.&lt;/P&gt;&lt;P&gt;Can you help me??&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 20:42:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Command-line-arguments-in-qlickview/m-p/297718#M1199596</guid>
      <dc:creator />
      <dc:date>2011-02-03T20:42:39Z</dc:date>
    </item>
    <item>
      <title>Command line arguments in qlickview</title>
      <link>https://community.qlik.com/t5/QlikView/Command-line-arguments-in-qlickview/m-p/297719#M1199597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You will need to add the user with NTNAME field instead of USERID and password, since you cannot pass these parameters on the application so the section access validates the user that has logged on to the computer.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 20:54:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Command-line-arguments-in-qlickview/m-p/297719#M1199597</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-02-03T20:54:02Z</dc:date>
    </item>
    <item>
      <title>Command line arguments in qlickview</title>
      <link>https://community.qlik.com/t5/QlikView/Command-line-arguments-in-qlickview/m-p/297720#M1199599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply, the problem is that i´m in the production server, so the user that is log in is the administrator. And when I run the command line the userId requieres appears. How can I hold up this pop up??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 21:11:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Command-line-arguments-in-qlickview/m-p/297720#M1199599</guid>
      <dc:creator />
      <dc:date>2011-02-03T21:11:43Z</dc:date>
    </item>
    <item>
      <title>Command line arguments in qlickview</title>
      <link>https://community.qlik.com/t5/QlikView/Command-line-arguments-in-qlickview/m-p/297721#M1199602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will suggest you to create a new application with section access using NTNAME and the administrator as the only user, pulling all data from your sources and storing them into QVD files. Then the second file with section access may be reloaded quick by the user (if he is allowed to reload).&lt;/P&gt;&lt;P&gt;Among other things, this is one of the features QlikView Server has.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 21:17:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Command-line-arguments-in-qlickview/m-p/297721#M1199602</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-02-03T21:17:36Z</dc:date>
    </item>
    <item>
      <title>Command line arguments in qlickview</title>
      <link>https://community.qlik.com/t5/QlikView/Command-line-arguments-in-qlickview/m-p/297722#M1199603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm doing that in all the applications i have in production, but the problem is when i write in production this command line:&lt;/P&gt;&lt;P&gt;"C:\Program Files\QlikView\QV.exe" /vvCreatePDF=1 /vUSERID=USER /vPASSWORD=USER345 /NoSecurity E:\Produccion\Admisiones_Reporte_ConSA.qvw&lt;/P&gt;&lt;P&gt;In the test server it works perfect because i log in with my user in the AD. But in the server production the administrator logins and write this in the cmd. Do you understand??&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 21:46:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Command-line-arguments-in-qlickview/m-p/297722#M1199603</guid>
      <dc:creator />
      <dc:date>2011-02-03T21:46:57Z</dc:date>
    </item>
  </channel>
</rss>

