<?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: How to pass external parameter in a LOAD SCRIPT in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-pass-external-parameter-in-a-LOAD-SCRIPT/m-p/313910#M708814</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Oronzo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Glad to help. Check the second option, that I have just edited.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Oct 2011 11:13:18 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2011-10-05T11:13:18Z</dc:date>
    <item>
      <title>How to pass external parameter in a LOAD SCRIPT</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-pass-external-parameter-in-a-LOAD-SCRIPT/m-p/313907#M708811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello to everybody,&lt;/P&gt;&lt;P&gt;I want to know if it is possible to pass external parameter inside&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOAD SCRIPT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this kind of script that load file from internet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD var1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var2,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;FROM [&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://95....param1...param2"&gt;http://95....param1...param2&lt;/A&gt;&lt;SPAN&gt;...]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to pass param1,param2..from a batch for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;call "C:\Program Files\QlikView\Qv.exe"&amp;nbsp; /vvPrintReports=1 /NoSecurity "C:\test.qvw"&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oronzo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 10:45:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-pass-external-parameter-in-a-LOAD-SCRIPT/m-p/313907#M708811</guid>
      <dc:creator />
      <dc:date>2011-10-05T10:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass external parameter in a LOAD SCRIPT</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-pass-external-parameter-in-a-LOAD-SCRIPT/m-p/313908#M708812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Oronzo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use them as variables, and pass them in the command line as you are suggesting in your batch line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;"C:\Program Files\QlikView\qv.exe" /vvParameter1=100 /vvParameter2=200 /vvPrintReports=1 /NoSecurity "C:\test.qvw"&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use the variables in your script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;FROM [&lt;/SPAN&gt;&lt;A href="http://url?param1=$(vParameter1)&amp;amp;param2=$(vParameter2"&gt;http://url?param1=$(vParameter1)&amp;amp;param2=$(vParameter2&lt;/A&gt;)&lt;SPAN&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These variables must exist in your document, although they may be empty (menu Settings, Variable Overview).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another option is to create these variables in an external writable text script and load them using include:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;$(include=ExternalVariables.txt);&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where the ExternalVariables.txt file looks like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;SET vParameter1 = 100;&lt;/P&gt;&lt;P&gt;SET vParameter2 = 200;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 11:03:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-pass-external-parameter-in-a-LOAD-SCRIPT/m-p/313908#M708812</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-10-05T11:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass external parameter in a LOAD SCRIPT</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-pass-external-parameter-in-a-LOAD-SCRIPT/m-p/313909#M708813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, &lt;/P&gt;&lt;P&gt;You are very quick as usual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oronzo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 11:09:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-pass-external-parameter-in-a-LOAD-SCRIPT/m-p/313909#M708813</guid>
      <dc:creator />
      <dc:date>2011-10-05T11:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass external parameter in a LOAD SCRIPT</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-pass-external-parameter-in-a-LOAD-SCRIPT/m-p/313910#M708814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Oronzo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Glad to help. Check the second option, that I have just edited.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 11:13:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-pass-external-parameter-in-a-LOAD-SCRIPT/m-p/313910#M708814</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-10-05T11:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass external parameter in a LOAD SCRIPT</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-pass-external-parameter-in-a-LOAD-SCRIPT/m-p/313911#M708816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;&lt;EM&gt;Miguel – Thanks for the solution. I have few questions on this... hope you can answer.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;&lt;EM&gt;I am assuming we can run this from command prompt on Server, Is this right?&lt;/EM&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;&lt;EM&gt;Practically in which scenario do we need this solution?&lt;/EM&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;&lt;EM&gt;Many thanks in advance.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;&lt;EM&gt;I wanted to learn something new today &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: trebuchet ms,geneva;"&gt;&lt;EM&gt;Cheers - DV&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 16:53:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-pass-external-parameter-in-a-LOAD-SCRIPT/m-p/313911#M708816</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-10-05T16:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass external parameter in a LOAD SCRIPT</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-pass-external-parameter-in-a-LOAD-SCRIPT/m-p/313912#M708819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi D V,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm assuming we are not have QlikView Server available, otherwise I had created the reload task in it, or that was my idea, since it's always better to let QlikView manage the reloads. The qv.exe is the Desktop executable file as you already know, and you can trigger this with the Windows Scheduler with a line similar to what I posted. So if you have Server and you want to do this way, you will need to install Desktop in your Server as well. As you know, you need an EDX trigger (with Publisher license) to reload not using the Management Console.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do see a lot of sense using includes with variables, for example, when the document is being developed by more than one person, or when I have some permissions in the folder but I want people change some values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 16:59:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-pass-external-parameter-in-a-LOAD-SCRIPT/m-p/313912#M708819</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-10-05T16:59:25Z</dc:date>
    </item>
  </channel>
</rss>

