<?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: Variables in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Variables/m-p/2431427#M96625</link>
    <description>&lt;P&gt;Hello, it is not possible to change the value of a script variable according to selections. However, you can create variables directly in the visualization part that you can control with the variable input component.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense/November2023/Subsystems/Hub/Content/Sense_Hub/Visualizations/DashboardBundle/variable-input.htm?key=33b675f20a55466d9d6c15088a4ec938" target="_blank"&gt;Variable input control | Qlik Sense on Windows Help&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Mar 2024 16:26:57 GMT</pubDate>
    <dc:creator>Clement15</dc:creator>
    <dc:date>2024-03-15T16:26:57Z</dc:date>
    <item>
      <title>Variables</title>
      <link>https://community.qlik.com/t5/App-Development/Variables/m-p/2431425#M96624</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;how to declare a script variable, which value depend from a value from a selection in a sheet Object and then I load the script new.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;your Help will be so welcome.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks in advance&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Frédéric&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 16:22:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variables/m-p/2431425#M96624</guid>
      <dc:creator>Frédéricdh</dc:creator>
      <dc:date>2024-03-15T16:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/App-Development/Variables/m-p/2431427#M96625</link>
      <description>&lt;P&gt;Hello, it is not possible to change the value of a script variable according to selections. However, you can create variables directly in the visualization part that you can control with the variable input component.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense/November2023/Subsystems/Hub/Content/Sense_Hub/Visualizations/DashboardBundle/variable-input.htm?key=33b675f20a55466d9d6c15088a4ec938" target="_blank"&gt;Variable input control | Qlik Sense on Windows Help&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 16:26:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variables/m-p/2431427#M96625</guid>
      <dc:creator>Clement15</dc:creator>
      <dc:date>2024-03-15T16:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/App-Development/Variables/m-p/2431434#M96626</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;You can use Input Variable Object.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;1. Declare a variable in Vizsualization part:&amp;nbsp;&lt;BR /&gt;2. Create Input Variable Object linked to this variable.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nicolae_Alecu_0-1710521292051.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/162122i00C51962FACF0210/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nicolae_Alecu_0-1710521292051.png" alt="Nicolae_Alecu_0-1710521292051.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;3. Use the variable in script.&lt;BR /&gt;&lt;BR /&gt;Ex:&amp;nbsp;Trace '$(vInputVariable)';&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nicolae_Alecu_1-1710521390088.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/162123i59CDB04DC7A5D9B2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nicolae_Alecu_1-1710521390088.png" alt="Nicolae_Alecu_1-1710521390088.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Good Luck!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 16:50:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variables/m-p/2431434#M96626</guid>
      <dc:creator>Nicolae_Alecu</dc:creator>
      <dc:date>2024-03-15T16:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/App-Development/Variables/m-p/2431904#M96681</link>
      <description>&lt;P&gt;Good, but I use the function&amp;nbsp;GetFieldSelections to have my value in qlik and then in the script I use the variable REFNUM but the script use the function and not the value behind.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2024 13:32:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variables/m-p/2431904#M96681</guid>
      <dc:creator>Frédéricdh</dc:creator>
      <dc:date>2024-03-18T13:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/App-Development/Variables/m-p/2432006#M96690</link>
      <description>&lt;P&gt;If you use GetFieldSelections() to define the variable (vVar1), then you can do this:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;1. Define a second variable (vVar2)&amp;nbsp;&lt;BR /&gt;2. Add a button object&lt;BR /&gt;3. Add a "Set Variable Value" action and set vVar2 = '$(vVar1)'&amp;nbsp;&lt;BR /&gt;4. Add a "Reload Data" action to the same button&amp;nbsp;&lt;BR /&gt;5. Select a value&lt;BR /&gt;5. Click Button&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a nice day.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2024 17:03:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variables/m-p/2432006#M96690</guid>
      <dc:creator>Nicolae_Alecu</dc:creator>
      <dc:date>2024-03-18T17:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/App-Development/Variables/m-p/2432377#M96712</link>
      <description>&lt;P&gt;No it doesn't work for me, i don't understand why but in the script the error is that in the Where clause, the variable vVar2 is blank.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 12:58:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variables/m-p/2432377#M96712</guid>
      <dc:creator>Frédéricdh</dc:creator>
      <dc:date>2024-03-19T12:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/App-Development/Variables/m-p/2432432#M96725</link>
      <description>&lt;P&gt;Hello, now it works and without an InputBX, just with the button and the set variable&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 14:06:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variables/m-p/2432432#M96725</guid>
      <dc:creator>Frédéricdh</dc:creator>
      <dc:date>2024-03-19T14:06:52Z</dc:date>
    </item>
  </channel>
</rss>

