<?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: Strange behaviour of variables in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Strange-behaviour-of-variables/m-p/1262376#M25746</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't &lt;SPAN style="font-size: 13.3333px;"&gt;think I &lt;/SPAN&gt;have the permissions to see or set triggers.&lt;/P&gt;&lt;P&gt;Is there a kind of trigger preventing variables to be saved?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Feb 2017 12:27:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-02-24T12:27:06Z</dc:date>
    <item>
      <title>Strange behaviour of variables</title>
      <link>https://community.qlik.com/t5/App-Development/Strange-behaviour-of-variables/m-p/1262372#M25742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use a script which creates variables.&lt;/P&gt;&lt;P&gt;Their values are set within IF-clauses.&lt;/P&gt;&lt;P&gt;I load the script and then they &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;work fine in the app-view, but when I restart my browser their values are different &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;(The values are from different if-clause outcomes).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Why do their value change when I restart my browser?&lt;/P&gt;&lt;P&gt;I thought their values are bound to the last value they received, from the variable editor or the data load script.&lt;/P&gt;&lt;P&gt;Do I need to store all variables in tables and reload them as a workaround or is there a better solution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 10:46:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Strange-behaviour-of-variables/m-p/1262372#M25742</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-24T10:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Strange behaviour of variables</title>
      <link>https://community.qlik.com/t5/App-Development/Strange-behaviour-of-variables/m-p/1262373#M25743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have On-Open trigger which might cause the value of the variable to change for some reason?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 10:48:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Strange-behaviour-of-variables/m-p/1262373#M25743</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-24T10:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: Strange behaviour of variables</title>
      <link>https://community.qlik.com/t5/App-Development/Strange-behaviour-of-variables/m-p/1262374#M25744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not that i would know - I am basically just loading and opening the app / closing browser and opening again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 11:50:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Strange-behaviour-of-variables/m-p/1262374#M25744</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-24T11:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Strange behaviour of variables</title>
      <link>https://community.qlik.com/t5/App-Development/Strange-behaviour-of-variables/m-p/1262375#M25745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you able to save a copy of the dashboard and check if there is any on-open trigger?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 11:55:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Strange-behaviour-of-variables/m-p/1262375#M25745</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-24T11:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: Strange behaviour of variables</title>
      <link>https://community.qlik.com/t5/App-Development/Strange-behaviour-of-variables/m-p/1262376#M25746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't &lt;SPAN style="font-size: 13.3333px;"&gt;think I &lt;/SPAN&gt;have the permissions to see or set triggers.&lt;/P&gt;&lt;P&gt;Is there a kind of trigger preventing variables to be saved?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 12:27:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Strange-behaviour-of-variables/m-p/1262376#M25746</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-24T12:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Strange behaviour of variables</title>
      <link>https://community.qlik.com/t5/App-Development/Strange-behaviour-of-variables/m-p/1262377#M25747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it might be saved to one value, but there might be a trigger which changes it's value as soon as your reopen the dashboard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 12:29:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Strange-behaviour-of-variables/m-p/1262377#M25747</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-24T12:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Strange behaviour of variables</title>
      <link>https://community.qlik.com/t5/App-Development/Strange-behaviour-of-variables/m-p/1262378#M25748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It may be trivial but I noticed that the variables also reset when I don't open the app-view in a new tab but inside the data load editor-window.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 12:35:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Strange-behaviour-of-variables/m-p/1262378#M25748</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-24T12:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Strange behaviour of variables</title>
      <link>https://community.qlik.com/t5/App-Development/Strange-behaviour-of-variables/m-p/1262379#M25749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I noticed something less trivial:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;scenario:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var1 = true;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var2 does not yet exist&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;script:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LET var1 = FALSE();&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LET var2 = FALSE();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after load:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var1 = true;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var2 = false;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;The important thing is, that var2 is noticed as being loaded from the script, while var1 is not&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 12:56:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Strange-behaviour-of-variables/m-p/1262379#M25749</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-24T12:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: Strange behaviour of variables</title>
      <link>https://community.qlik.com/t5/App-Development/Strange-behaviour-of-variables/m-p/1262380#M25750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;New variables can be changed as I wish and keep their values,&lt;/P&gt;&lt;P&gt;old variables (past days) won't change.&lt;/P&gt;&lt;P&gt;I am working on a server - I guess this is linked to the main problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 12:59:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Strange-behaviour-of-variables/m-p/1262380#M25750</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-24T12:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Strange behaviour of variables</title>
      <link>https://community.qlik.com/t5/App-Development/Strange-behaviour-of-variables/m-p/1262381#M25751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure, may be &lt;A href="https://community.qlik.com/qlik-users/3540"&gt;pcammaert&lt;/A&gt;‌ can offer his expert advice here&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 13:00:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Strange-behaviour-of-variables/m-p/1262381#M25751</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-24T13:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Strange behaviour of variables</title>
      <link>https://community.qlik.com/t5/App-Development/Strange-behaviour-of-variables/m-p/1262382#M25752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the problem is linked to script variables and custom variables.&lt;/P&gt;&lt;P&gt;All of my old variables are displayed as custom variables, immune to script-changes but changeable by the variable-editor.&lt;/P&gt;&lt;P&gt;Newly created variables are displayed as script variables, can't be changed by the variable-editor but in the skript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just don't know why the skript-variables that I have a long time now don't count as script-variables anymore.&lt;/P&gt;&lt;P&gt;If I open the app-view after loading in a new tab, those old variables are detected as script variables, otherwise as custom variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUG from Qlik-Sense?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't explain why using the gui in different ways can show me the variables with their new script value or with their old "custom" value (they were never created as custom variables)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 13:18:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Strange-behaviour-of-variables/m-p/1262382#M25752</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-24T13:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Strange behaviour of variables</title>
      <link>https://community.qlik.com/t5/App-Development/Strange-behaviour-of-variables/m-p/1262383#M25753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will use a save and load as fields - workaround, but it would be nice to know whether this is a general or specific problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 13:22:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Strange-behaviour-of-variables/m-p/1262383#M25753</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-24T13:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Strange behaviour of variables</title>
      <link>https://community.qlik.com/t5/App-Development/Strange-behaviour-of-variables/m-p/1262384#M25754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not too familiar with variable behavior in Qlik Sense... yet &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;P&gt;I certainly can't come up with a reason why your Sense client seems to change variable values at random (opening/closing a browser).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The behavior of script variables vs "custom" variables (those defined in the user interface) however seems to hint at similar behavior in recent versions of QlikView though. For example, we did run tests and noticed that in QV you can delete script variables that were created before &lt;EM&gt;in the same script run&lt;/EM&gt;. A later script run however doesn't allow you to remove them anymore, although they're still script variables ... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 16:53:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Strange-behaviour-of-variables/m-p/1262384#M25754</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-02-24T16:53:04Z</dc:date>
    </item>
  </channel>
</rss>

