<?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: Pass variable from user to script? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pass-variable-from-user-to-script/m-p/330234#M1167729</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using desktop and QVW files is a completely different paradigm to using QlikView server. In the latter instance each user shares the online QVW file in memory but things like variables are maintained for each user in the shared file. The load script does not have access to those variables. So you need to think of the long term solution if you eventually plan to deploy the solution to the server. Server is a multi-user, web-based, client-server environment - so it is a little complex by necessity. EDX is the framework to manage calls to the server to perform admin tasks in that environment. I am sure there is an example on community of how to use EDX to trigger a refresh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you just want to do it in desktop, then it might work just having two input boxes attached to variables to hold your selected values. Then the user can click on the refresh button. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another approach that would work on desktop and also be adaptable to server is this:&lt;/P&gt;&lt;P&gt;- Create your input boxes on the UI linked to variables&lt;/P&gt;&lt;P&gt;- Write a macro to take those variables and store them in a database&lt;/P&gt;&lt;P&gt;- Write your SQL in the QlikView load script to reference the values stored in the DB&lt;/P&gt;&lt;P&gt;The user would enter the relevant values, click a button with anAction to run the macro and update the db. On the desktop a second Action could also trigger a refresh. When you deploy to the server you just need to replace the second Action with a EDX call to trigger the refresh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Jul 2012 23:01:56 GMT</pubDate>
    <dc:creator>Lee_Matthews</dc:creator>
    <dc:date>2012-07-31T23:01:56Z</dc:date>
    <item>
      <title>Pass variable from user to script?</title>
      <link>https://community.qlik.com/t5/QlikView/Pass-variable-from-user-to-script/m-p/330230#M1167725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a script that has two variables, StartDate and EndDate. Right now, they are hard coded for testing, but obviously I want the users to be able to specify real dates in production. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess I could go and create new variables for all the data variables in the script (like NewEquipAdd, NewEmpAdd, etc.) but right now I just specify StartDate and EndDate at the top of the script, and use constructions like "NewEquipAdd &amp;gt;= $(StartDate) AND NewEquipAdd &amp;lt;= $(EndDate)", so I'd like to keep that for simplicity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way for the user to:&lt;/P&gt;&lt;P&gt;1 - Specify new start and end dates,&lt;/P&gt;&lt;P&gt;2 - pass those values to my script variables, and&lt;/P&gt;&lt;P&gt;3 - reload the script with the new variable values?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 18:43:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pass-variable-from-user-to-script/m-p/330230#M1167725</guid>
      <dc:creator />
      <dc:date>2012-07-31T18:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Pass variable from user to script?</title>
      <link>https://community.qlik.com/t5/QlikView/Pass-variable-from-user-to-script/m-p/330231#M1167726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the user will access the app via browser, the only way of doing this is by using EDX. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You must create a macro with the EDX command, which will trigger the reload of the app in the SERVER, passing the variables and their values. After the reload is done in the server, the app will automatically refresh in the browser with the new data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using EDX is kinda tricky, the above is just a summary of what happens. Check these topics:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/docs/DOC-2650"&gt;http://community.qlik.com/docs/DOC-2650&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/47353?tstart=0"&gt;http://community.qlik.com/thread/47353?tstart=0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know if u need more details about this solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 19:10:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pass-variable-from-user-to-script/m-p/330231#M1167726</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2012-07-31T19:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Pass variable from user to script?</title>
      <link>https://community.qlik.com/t5/QlikView/Pass-variable-from-user-to-script/m-p/330232#M1167727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's way too complicated! All I want to do is grab start/stop dates from the user, and substitute them into the script. They are not necessarily going to be using a browser; in fact, for the first go-round, they certainly will not. The user will open the QV file, at which point I'd want a trigger to ask for start/stop dates, and then use those dates and reload the script. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternately, is there any way to access and alter the script from outside of QV using VBA, for example?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 20:09:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pass-variable-from-user-to-script/m-p/330232#M1167727</guid>
      <dc:creator />
      <dc:date>2012-07-31T20:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Pass variable from user to script?</title>
      <link>https://community.qlik.com/t5/QlikView/Pass-variable-from-user-to-script/m-p/330233#M1167728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is that 'by default', the user can't trigger a reload in the server. This probably is because QlikView can't&amp;nbsp;&amp;nbsp; multithread the reloads in the server, and imagine if there are several users trying to reload at the same time...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can eventually try something if the user is using QV Desktop. But I suppose they will access it with a browser, right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 20:37:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pass-variable-from-user-to-script/m-p/330233#M1167728</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2012-07-31T20:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: Pass variable from user to script?</title>
      <link>https://community.qlik.com/t5/QlikView/Pass-variable-from-user-to-script/m-p/330234#M1167729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using desktop and QVW files is a completely different paradigm to using QlikView server. In the latter instance each user shares the online QVW file in memory but things like variables are maintained for each user in the shared file. The load script does not have access to those variables. So you need to think of the long term solution if you eventually plan to deploy the solution to the server. Server is a multi-user, web-based, client-server environment - so it is a little complex by necessity. EDX is the framework to manage calls to the server to perform admin tasks in that environment. I am sure there is an example on community of how to use EDX to trigger a refresh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you just want to do it in desktop, then it might work just having two input boxes attached to variables to hold your selected values. Then the user can click on the refresh button. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another approach that would work on desktop and also be adaptable to server is this:&lt;/P&gt;&lt;P&gt;- Create your input boxes on the UI linked to variables&lt;/P&gt;&lt;P&gt;- Write a macro to take those variables and store them in a database&lt;/P&gt;&lt;P&gt;- Write your SQL in the QlikView load script to reference the values stored in the DB&lt;/P&gt;&lt;P&gt;The user would enter the relevant values, click a button with anAction to run the macro and update the db. On the desktop a second Action could also trigger a refresh. When you deploy to the server you just need to replace the second Action with a EDX call to trigger the refresh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 23:01:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pass-variable-from-user-to-script/m-p/330234#M1167729</guid>
      <dc:creator>Lee_Matthews</dc:creator>
      <dc:date>2012-07-31T23:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: Pass variable from user to script?</title>
      <link>https://community.qlik.com/t5/QlikView/Pass-variable-from-user-to-script/m-p/330235#M1167730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kevin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why do you want users to enter a date range if you can let them select date range on the dashboard instead? Like you'll be having two selection fields say Start Date and End Date. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Asking for a specific date range prior to reload is quite not a good practice because it would take too much resources on the server if you're going to have multiple reloads.&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;Bernardine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 04:54:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pass-variable-from-user-to-script/m-p/330235#M1167730</guid>
      <dc:creator />
      <dc:date>2012-08-01T04:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Pass variable from user to script?</title>
      <link>https://community.qlik.com/t5/QlikView/Pass-variable-from-user-to-script/m-p/330236#M1167731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bernadine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the suggestion; in fact, it was the first thing I tried. The problem is, the fields I'm loading are 'buckets' created by SQL commands within the script, and they don't have dates associated with them. e.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UGC_ASPCode,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UGC_Desc,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SELECT COUNT(ENTC_ID)&amp;nbsp; FROM dbo.Entity_Table&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE ENTC_ASPCode=UGC_ASPCode&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND ENTD_Created &amp;gt;= '$(StartDate)'&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND ENTD_Created &amp;lt; DATEADD(day,1,'$(EndDate)')&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ) AS TradePartnersCreated, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;So, "TradePartnersCreated" is just an integer without a date associated with it. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Lee:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; I tried creating two input boxes for Start Date and End Date, but when I do a reload, it just overwrites them with the dates that are entered in the script. And that's regardless of whether I have the variables assigned in the script as:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;LET StartDate = addmonths(today(),-3,0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;SET EndDate = '6/30/2102'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;If you have any explicit instructions on how to make the "refresh" (I assume that means "reload"; please correct me if I'm wrong) use the newly entered values, I'm all ears!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I'm not worrying about a server environment; we only have a few users with access to QV, and they would be running this from a desktop environment, accessing a SQL server only. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks to everyone for their help. I can't find any documentation about calling QV from a command line and passing variables to it that way; does such an animal exist?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 12:59:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pass-variable-from-user-to-script/m-p/330236#M1167731</guid>
      <dc:creator />
      <dc:date>2012-08-01T12:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Pass variable from user to script?</title>
      <link>https://community.qlik.com/t5/QlikView/Pass-variable-from-user-to-script/m-p/330237#M1167732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, the script will always overwrite the variables if that is what it is coded to do. But you can actually create your variables in the doc properties, not the script, and then it wont overwrite them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the sound of what you say below though, I would write a macro to call SQL &amp;amp; run the proc, with it passing variables in the SQL command. If the proc can populate a sql table with the results you can then just read that in after the macro has run.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 22:45:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pass-variable-from-user-to-script/m-p/330237#M1167732</guid>
      <dc:creator>Lee_Matthews</dc:creator>
      <dc:date>2012-08-01T22:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Pass variable from user to script?</title>
      <link>https://community.qlik.com/t5/QlikView/Pass-variable-from-user-to-script/m-p/330238#M1167733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lee,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now I'm curious about your macro suggestion: how can one get the result from a SQL statement (select or procedure..) and insert those data into the QV data cloud? Can you please detail the "read that in" part? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 14:19:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pass-variable-from-user-to-script/m-p/330238#M1167733</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2012-08-02T14:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Pass variable from user to script?</title>
      <link>https://community.qlik.com/t5/QlikView/Pass-variable-from-user-to-script/m-p/330239#M1167734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why do you not try input boxes? I mean is there a perticular reason you want to do this at the script level? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see app attached!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reagards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rahul &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 15:20:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pass-variable-from-user-to-script/m-p/330239#M1167734</guid>
      <dc:creator />
      <dc:date>2012-08-02T15:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Pass variable from user to script?</title>
      <link>https://community.qlik.com/t5/QlikView/Pass-variable-from-user-to-script/m-p/330240#M1167735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if this helps, but there is actually a system function in QV to query the user for input:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Let vDate = Input('Enter Start Date (MM/DD/YYYY)' , 'Input required'); &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 15:44:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pass-variable-from-user-to-script/m-p/330240#M1167735</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-08-02T15:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Pass variable from user to script?</title>
      <link>https://community.qlik.com/t5/QlikView/Pass-variable-from-user-to-script/m-p/330241#M1167736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stefan!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's the answer - so simple! I knew there had to be an easier way to do it; I didn't realize this was how. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 15:59:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pass-variable-from-user-to-script/m-p/330241#M1167736</guid>
      <dc:creator />
      <dc:date>2012-08-02T15:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: Pass variable from user to script?</title>
      <link>https://community.qlik.com/t5/QlikView/Pass-variable-from-user-to-script/m-p/330242#M1167737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help, but as I explained above, in my tables, there are no dates; there are only sums of counts made between start date and end date. So there are no date ranges in the tables to select from.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan's answer does exactly what I want - asks the user for start and end dates, pops them into the script, and loads the data. Simple!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 20:01:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pass-variable-from-user-to-script/m-p/330242#M1167737</guid>
      <dc:creator />
      <dc:date>2012-08-02T20:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Pass variable from user to script?</title>
      <link>https://community.qlik.com/t5/QlikView/Pass-variable-from-user-to-script/m-p/330243#M1167738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; &lt;SPAN style="color: #333333; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt;"&gt;Hi Swuehl, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt;"&gt;Is some thing like this possible on the front end too? I am trying to work the following scenario. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt;"&gt;Scenario:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt;"&gt;I have a hierarchy which comprise of 10 Front Line Managers and 15 to 18 Employees who work under each of them. I want the user to be able to select a Line Manager and/or some Employees under one or many Line Managers to form a test group. Once this group is established I want to use the excluded values to establish my control group? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt;"&gt;Is this possible without changing the script? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt;"&gt;Any help would be highly appreciated!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt;"&gt;Thanks and Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt;"&gt;Rahul Lakhina &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2012 08:43:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pass-variable-from-user-to-script/m-p/330243#M1167738</guid>
      <dc:creator />
      <dc:date>2012-08-03T08:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: Pass variable from user to script?</title>
      <link>https://community.qlik.com/t5/QlikView/Pass-variable-from-user-to-script/m-p/330244#M1167739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use input functin in qlikview scirpt to pass the variable run time while executing the script.&lt;/P&gt;&lt;P&gt;If suppose I want to reload the qvw using QlikView Publisher, how would I pass that variable. Kindly advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Surendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2013 13:52:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pass-variable-from-user-to-script/m-p/330244#M1167739</guid>
      <dc:creator />
      <dc:date>2013-05-10T13:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Pass variable from user to script?</title>
      <link>https://community.qlik.com/t5/QlikView/Pass-variable-from-user-to-script/m-p/1766902#M1167740</link>
      <description>&lt;P&gt;Hi Swuehl,&lt;/P&gt;&lt;P&gt;Your solution is working in my local desktop , but i want to do the same in QMC .&lt;/P&gt;&lt;P&gt;how to do it could u please explain.&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 07:14:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pass-variable-from-user-to-script/m-p/1766902#M1167740</guid>
      <dc:creator>nagarjuna005</dc:creator>
      <dc:date>2020-12-08T07:14:19Z</dc:date>
    </item>
  </channel>
</rss>

