<?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 reference to variables from UI in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-reference-to-variables-from-UI/m-p/1143253#M20350</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you, the trick was declare the variable at UI, not in script, so the reload doesn't overwrite it's value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jun 2016 07:02:15 GMT</pubDate>
    <dc:creator>undergrinder</dc:creator>
    <dc:date>2016-06-08T07:02:15Z</dc:date>
    <item>
      <title>How to reference to variables from UI</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-reference-to-variables-from-UI/m-p/1143251#M20348</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;There are some extensions, that allow to manipulate variables from UI.&lt;/P&gt;&lt;P&gt;I'm curious, is there a way to reference that new values from load script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Load script: &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set Var = 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if $(var) = 1 then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The value of Var could be manipulated by UI to 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2016 13:58:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-reference-to-variables-from-UI/m-p/1143251#M20348</guid>
      <dc:creator>undergrinder</dc:creator>
      <dc:date>2016-06-07T13:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to reference to variables from UI</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-reference-to-variables-from-UI/m-p/1143252#M20349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can reference the variable the same way as in Qlikview: $(var). If you want to change the value of the variable in the UI while not in Edit mode then you need an extension like for example &lt;A href="https://github.com/erikwett/qsVariable"&gt;qsVariable&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; &lt;EM&gt;Var&lt;/EM&gt; and &lt;EM&gt;var&lt;/EM&gt; are two different variables. Make sure to use the correct case sensitive name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2016 15:04:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-reference-to-variables-from-UI/m-p/1143252#M20349</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-06-07T15:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to reference to variables from UI</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-reference-to-variables-from-UI/m-p/1143253#M20350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you, the trick was declare the variable at UI, not in script, so the reload doesn't overwrite it's value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2016 07:02:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-reference-to-variables-from-UI/m-p/1143253#M20350</guid>
      <dc:creator>undergrinder</dc:creator>
      <dc:date>2016-06-08T07:02:15Z</dc:date>
    </item>
  </channel>
</rss>

