<?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 pass a parameter to ZFC application? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-pass-a-parameter-to-ZFC-application/m-p/155917#M1331855</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you know if it is possible to use the init('param','LB01') with something like a table box or a chart??&lt;/P&gt;&lt;P&gt;so like init('param','CH03') or init('param','TB01')&lt;/P&gt;&lt;P&gt;etc....&lt;/P&gt;&lt;P&gt;Thank you for any clues!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Jun 2009 05:27:23 GMT</pubDate>
    <dc:creator>mellerbeck</dc:creator>
    <dc:date>2009-06-25T05:27:23Z</dc:date>
    <item>
      <title>How to pass a parameter to ZFC application?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-pass-a-parameter-to-ZFC-application/m-p/155912#M1331836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is an old thread explaining how to pass a parameter to a ZFC based application, but the actual code is hidden in that post!&lt;/P&gt;&lt;P&gt;It seems like onOpen document event macro is not being called when the application is accessed thro ZFC.&lt;/P&gt;&lt;P&gt;Can someone suggest an alternate way of achieving this? Appreciate any help..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-pass-a-parameter-to-ZFC-application/m-p/155912#M1331836</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>How to pass a parameter to ZFC application?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-pass-a-parameter-to-ZFC-application/m-p/155913#M1331839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;You just have to do some javascript!&lt;/P&gt;&lt;P&gt;In the default.htm you add:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;function init(key, name)&lt;BR /&gt;{&lt;BR /&gt; var val = Qva.ExtractProperty(key);&lt;BR /&gt; if(val) qva.Set(name,'text',val,false);&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt; init('param','LB01');&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Your URL is then something like &lt;A href="http://server/AJAXApplication/default.htm?param=Customer1"&gt;http://server/AJAXApplication/default.htm?param=Customer1&lt;/A&gt; where LB01 is the ID of your listbox and "Customer1" the value you want to select.&lt;/P&gt;&lt;P&gt;See attachment for details!&lt;BR /&gt;Things can become more complicated if you want to hand over multiple values and/or lock your selection. But for simply passing the parameter this should be fine..&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>Wed, 24 Jun 2009 15:40:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-pass-a-parameter-to-ZFC-application/m-p/155913#M1331839</guid>
      <dc:creator />
      <dc:date>2009-06-24T15:40:41Z</dc:date>
    </item>
    <item>
      <title>How to pass a parameter to ZFC application?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-pass-a-parameter-to-ZFC-application/m-p/155914#M1331843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks rva! That really helped.. 2 more qns!&lt;/P&gt;&lt;P&gt;1) Is there a way to set a QlikView document variable through Javascript?&lt;/P&gt;&lt;P&gt;2) Where can I find more information about these available functions like Qva.ExtractProperty?&lt;/P&gt;&lt;P&gt;Thanks again...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2009 22:12:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-pass-a-parameter-to-ZFC-application/m-p/155914#M1331843</guid>
      <dc:creator />
      <dc:date>2009-06-24T22:12:26Z</dc:date>
    </item>
    <item>
      <title>How to pass a parameter to ZFC application?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-pass-a-parameter-to-ZFC-application/m-p/155915#M1331847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One more problem!&lt;/P&gt;&lt;P&gt;It seems that in order to use avqSet, the list box has to be in show mode. I created a list box of id column and made it hidden so that other application can pass id parameter and i could set it up on the list box. So far i found that when i use avqSet on hidden list box, it gives an error as - Server Error, Session timed out, reconnecting... and keeps giving the same error messages even though i press ok. I have to kill the IE process!&lt;/P&gt;&lt;P&gt;So is there any way to use hidden list boxes and be able to set values in those?&lt;/P&gt;&lt;P&gt;Appreciate any help...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2009 23:58:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-pass-a-parameter-to-ZFC-application/m-p/155915#M1331847</guid>
      <dc:creator />
      <dc:date>2009-06-24T23:58:40Z</dc:date>
    </item>
    <item>
      <title>How to pass a parameter to ZFC application?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-pass-a-parameter-to-ZFC-application/m-p/155916#M1331851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would do it a different way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of setting the listbox hidden in QlikView, I modify the HTML-Code generated for the AJAX-Client.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Go to the .htm file&lt;/LI&gt;&lt;LI&gt;Locate the listbox you want to hide&lt;/LI&gt;&lt;LI&gt;add in the CSS-style of the tag &lt;EM&gt;visibility:hidden&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;So the enduser does not see the listbox, but you can set a value through avqSet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your other questions:&lt;/P&gt;&lt;P&gt;I don't know any official documentation. However you have all the Javascript libraries installed with your QlikView server. So take a look at the Javascript files to understand more about it.&lt;/P&gt;&lt;P&gt;I don't know if you can set a variable directly. But probably you can set an InputBox which then sets an variable!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2009 02:55:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-pass-a-parameter-to-ZFC-application/m-p/155916#M1331851</guid>
      <dc:creator />
      <dc:date>2009-06-25T02:55:27Z</dc:date>
    </item>
    <item>
      <title>How to pass a parameter to ZFC application?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-pass-a-parameter-to-ZFC-application/m-p/155917#M1331855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you know if it is possible to use the init('param','LB01') with something like a table box or a chart??&lt;/P&gt;&lt;P&gt;so like init('param','CH03') or init('param','TB01')&lt;/P&gt;&lt;P&gt;etc....&lt;/P&gt;&lt;P&gt;Thank you for any clues!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2009 05:27:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-pass-a-parameter-to-ZFC-application/m-p/155917#M1331855</guid>
      <dc:creator>mellerbeck</dc:creator>
      <dc:date>2009-06-25T05:27:23Z</dc:date>
    </item>
    <item>
      <title>How to pass a parameter to ZFC application?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-pass-a-parameter-to-ZFC-application/m-p/155918#M1331858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;Thanks rva.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I solved the problem by making height and width as 0 points in the html for the list boxes which I want to hide. Although visibility:hidden seems to be a better way of doing it.. will check that out..&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;Now, a fundamental problem.. client (IE) calls this AJAX based QlikView app by using http://xxx.com/ajax/SH09.htm?userid=xxxx&amp;amp;param=value&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The ajax page extract the param, set the value in list box, and the data is presented based on the selection of param field. Now, if IE window is refreshed, same process is repeated again, and based on default behavior of QlikView, instead of setting the param value, it deselects it !! So the client gets to see the whole data !!&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I might have to disable IE "Refresh" completely. (atm, not sure if thats possible) But do you have any other ideas that you can suggest? Apart from browser refresh, there may be other ways of deselecting the param value and exposing the whole data. So would like to fix it at the root itself.&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2009 20:40:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-pass-a-parameter-to-ZFC-application/m-p/155918#M1331858</guid>
      <dc:creator />
      <dc:date>2009-06-25T20:40:58Z</dc:date>
    </item>
    <item>
      <title>How to pass a parameter to ZFC application?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-pass-a-parameter-to-ZFC-application/m-p/155919#M1331860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Btw, will not be able to implement Dynamic Data Reduction for the above issue. Our QV app will be opened to other multiple apps within the company. Other apps need bits and pieces from our QV app. As such, upfront we dont know the incoming users and their security level so cant restrict the data by using section access. The only way for us is to enforce other apps to pass on filter criteria and we will present the data based on the filters passed. Afterwards, client should not be able to navigate anything apart from the data presented in the beginning..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2009 20:45:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-pass-a-parameter-to-ZFC-application/m-p/155919#M1331860</guid>
      <dc:creator />
      <dc:date>2009-06-25T20:45:44Z</dc:date>
    </item>
    <item>
      <title>How to pass a parameter to ZFC application?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-pass-a-parameter-to-ZFC-application/m-p/155920#M1331862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@mellerbeck:&lt;BR /&gt;&lt;BR /&gt;I don't see any reason why to do that!&lt;BR /&gt;Filtering data in Qlikview always happens through listboxes. So setting a value in a listbox will always cause your chart, table box to update to the current selection.&lt;BR /&gt;&lt;BR /&gt;If you don't want to show the listbox, see the postings above. Just hide the listbox with CSS visibility:hidden; in the HTML-Code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2009 14:47:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-pass-a-parameter-to-ZFC-application/m-p/155920#M1331862</guid>
      <dc:creator />
      <dc:date>2009-06-26T14:47:14Z</dc:date>
    </item>
    <item>
      <title>How to pass a parameter to ZFC application?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-pass-a-parameter-to-ZFC-application/m-p/155921#M1331864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May this code example helps. Instead of setting the parameter in the default.htm I once did the following at &amp;lt;body&amp;gt;-onload on the SH01.htm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It also locks the selection, so this is some way where a user can not leave this selection that easy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;function QueryAndLock()&lt;BR /&gt; {&lt;BR /&gt; try&lt;BR /&gt; {&lt;BR /&gt; accountValue = Qva.ExtractProperty ("AccountName");&lt;BR /&gt; if (accountValue.length &amp;gt; 0)&lt;BR /&gt; {&lt;BR /&gt; // needed to replace Blanks, as Salesforce delivers these as "+"&lt;BR /&gt; accountValue = accountValue.replace("+"," ");&lt;BR /&gt;// alert (accountValue);&lt;BR /&gt; // Unlock the listbox&lt;BR /&gt; qva.Set("Document.LB95.ULC", "action", "", true);&lt;BR /&gt; // clear the listbox&lt;BR /&gt; qva.Set(".LB95", "search", "*", true);&lt;BR /&gt; qva.Set(".LB95", "closesearch", "accept", true);&lt;BR /&gt; // query fro the right account&lt;BR /&gt; qva.Set(".LB95", "search", accountValue, true);&lt;BR /&gt; qva.Set(".LB95", "closesearch", "accept", true);&lt;BR /&gt; // lock the listbox&lt;BR /&gt; qva.Set("Document.LB95.LOC", "action", "", false);&lt;BR /&gt; }&lt;BR /&gt; }&lt;BR /&gt; catch (e)&lt;BR /&gt; {&lt;BR /&gt;// alert ("no matching parameters");&lt;BR /&gt; }&lt;BR /&gt; }&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2009 14:52:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-pass-a-parameter-to-ZFC-application/m-p/155921#M1331864</guid>
      <dc:creator />
      <dc:date>2009-06-26T14:52:44Z</dc:date>
    </item>
    <item>
      <title>How to pass a parameter to ZFC application?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-pass-a-parameter-to-ZFC-application/m-p/155922#M1331866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;rva - thanks again!&lt;/P&gt;&lt;P&gt;JavaScript code to lock the listbox selection did the trick. After putting the javascript the browser refresh issue is fixed. Now the only way for a user to get an access to complete data is by passing incorrect data - for example, a value that does not exist in the list box. In that scenario, user gets to see everything.. thats not a big issue atm. We will be able to put some work around..&lt;/P&gt;&lt;P&gt;thanks for all the help...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2009 22:17:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-pass-a-parameter-to-ZFC-application/m-p/155922#M1331866</guid>
      <dc:creator />
      <dc:date>2009-06-29T22:17:57Z</dc:date>
    </item>
    <item>
      <title>How to pass a parameter to ZFC application?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-pass-a-parameter-to-ZFC-application/m-p/155923#M1331868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The code did a select but not a lock.&lt;BR /&gt;Is there a way to lock?&lt;/P&gt;&lt;P&gt;I using th 9 sr 1 version on QVS and QV.&lt;/P&gt;&lt;P&gt;I cant find the docs for the qva script code... Is there any? or is the .js files the "doc"?&lt;/P&gt;&lt;P&gt;BR Hans&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2009 04:50:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-pass-a-parameter-to-ZFC-application/m-p/155923#M1331868</guid>
      <dc:creator />
      <dc:date>2009-10-06T04:50:52Z</dc:date>
    </item>
  </channel>
</rss>

