<?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: Keep variables values after the reload in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Keep-variables-values-after-the-reload/m-p/1441465#M432467</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The variable value is changed with &lt;STRONG&gt;button actions&lt;/STRONG&gt; and not input box.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Nov 2017 13:55:34 GMT</pubDate>
    <dc:creator>Benbassou</dc:creator>
    <dc:date>2017-11-22T13:55:34Z</dc:date>
    <item>
      <title>Keep variables values after the reload</title>
      <link>https://community.qlik.com/t5/QlikView/Keep-variables-values-after-the-reload/m-p/1441463#M432465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hello,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have a problem with variables when app get reloaded.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Let me use a simple example to understand the stuff:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; - Suppose that i have a document with a variable vTest.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; - I publish the document on the server with the variable vTest configured with default value 1&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; - A user modifies the contents of the variable [vTest] to 5. If, during user's analysis, the document is reloaded on the server (data is updated), the content of the variable is automatically set to the default value 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I don't wanna this behaviour, i need to keep the user defined value 5 even after the reload&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Does anyone have had that problem before and how to keep variables values ?&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thank you for the help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2017 13:45:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keep-variables-values-after-the-reload/m-p/1441463#M432465</guid>
      <dc:creator>Benbassou</dc:creator>
      <dc:date>2017-11-22T13:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Keep variables values after the reload</title>
      <link>https://community.qlik.com/t5/QlikView/Keep-variables-values-after-the-reload/m-p/1441464#M432466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Describe more related how user going to select, I mean with in Input box?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2017 13:50:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keep-variables-values-after-the-reload/m-p/1441464#M432466</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-11-22T13:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: Keep variables values after the reload</title>
      <link>https://community.qlik.com/t5/QlikView/Keep-variables-values-after-the-reload/m-p/1441465#M432467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The variable value is changed with &lt;STRONG&gt;button actions&lt;/STRONG&gt; and not input box.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2017 13:55:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keep-variables-values-after-the-reload/m-p/1441465#M432467</guid>
      <dc:creator>Benbassou</dc:creator>
      <dc:date>2017-11-22T13:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Keep variables values after the reload</title>
      <link>https://community.qlik.com/t5/QlikView/Keep-variables-values-after-the-reload/m-p/1441466#M432468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How are you defining a vairable?&lt;/P&gt;&lt;P&gt;I would guess that you are defining in Script something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vTest = 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Comment out the line in the script, this should stop it being changed at reload and keep the last value entered.&lt;/P&gt;&lt;P&gt;If this is no the case you probably have a trigger set up to reset it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2017 13:55:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keep-variables-values-after-the-reload/m-p/1441466#M432468</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2017-11-22T13:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: Keep variables values after the reload</title>
      <link>https://community.qlik.com/t5/QlikView/Keep-variables-values-after-the-reload/m-p/1441467#M432469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you probably are trying to achieve something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/219217"&gt;Save variable VALUE from application to text, csv, qvs, or qvd file&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2017 13:57:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keep-variables-values-after-the-reload/m-p/1441467#M432469</guid>
      <dc:creator>jpenuliar</dc:creator>
      <dc:date>2017-11-22T13:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Keep variables values after the reload</title>
      <link>https://community.qlik.com/t5/QlikView/Keep-variables-values-after-the-reload/m-p/1441468#M432470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I'm actually not initialize the variable in script, and i dont have any triggers in application.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;i use this steps to create a variable&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Settings -------&amp;gt; Variable Overview --------------&amp;gt; Add&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;and to change a variable value i use button action&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;thank you&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2017 14:13:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keep-variables-values-after-the-reload/m-p/1441468#M432470</guid>
      <dc:creator>Benbassou</dc:creator>
      <dc:date>2017-11-22T14:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Keep variables values after the reload</title>
      <link>https://community.qlik.com/t5/QlikView/Keep-variables-values-after-the-reload/m-p/1441469#M432471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Probably down to the reload.&lt;/P&gt;&lt;P&gt;When you reload an app is the application moved from a Source Doc's folder to a User Doc's Folder?&lt;/P&gt;&lt;P&gt;I think you will find the Document your loading from has the variable set to 1 and the Document being viewed by your user is being replaced with the reloaded one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A quick way check for this is to change the variable in the source document and see if on the next reload the number changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is the case i don't think there is an easy way to change this, sorry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2017 14:35:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keep-variables-values-after-the-reload/m-p/1441469#M432471</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2017-11-22T14:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Keep variables values after the reload</title>
      <link>https://community.qlik.com/t5/QlikView/Keep-variables-values-after-the-reload/m-p/1441470#M432472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yeah, i tried that. &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;After every reload, the value of the variable back to default value. &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, i think it's not only about variables but all app objects are reset to original version after every reload, for exemple when i move or i change an text object, the value and the location backs to default after the reload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Idriss&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 17:16:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keep-variables-values-after-the-reload/m-p/1441470#M432472</guid>
      <dc:creator>Benbassou</dc:creator>
      <dc:date>2017-11-23T17:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: Keep variables values after the reload</title>
      <link>https://community.qlik.com/t5/QlikView/Keep-variables-values-after-the-reload/m-p/1441471#M432473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you mean, that i should save my variables values with a macro in a file, and reset them later with script during the reload ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Idriss&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 17:21:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keep-variables-values-after-the-reload/m-p/1441471#M432473</guid>
      <dc:creator>Benbassou</dc:creator>
      <dc:date>2017-11-23T17:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: Keep variables values after the reload</title>
      <link>https://community.qlik.com/t5/QlikView/Keep-variables-values-after-the-reload/m-p/1441472#M432474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i suppose that can be done with a macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This example allows editing value of a variable and saving to qvd by Reload action;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-5246"&gt;Loading Data into Input Boxes&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 17:30:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keep-variables-values-after-the-reload/m-p/1441472#M432474</guid>
      <dc:creator>jpenuliar</dc:creator>
      <dc:date>2017-11-23T17:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: Keep variables values after the reload</title>
      <link>https://community.qlik.com/t5/QlikView/Keep-variables-values-after-the-reload/m-p/1441473#M432475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I couldn't find the article outlining how to use Google Sheets for inputting Variable values and the Qlik app to load the variables from Google Drive.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 17:33:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keep-variables-values-after-the-reload/m-p/1441473#M432475</guid>
      <dc:creator>jpenuliar</dc:creator>
      <dc:date>2017-11-23T17:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Keep variables values after the reload</title>
      <link>https://community.qlik.com/t5/QlikView/Keep-variables-values-after-the-reload/m-p/1441474#M432476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it's really a very good idea but in my case the application is used by several users and the value of the variable varies according to each one of them.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;In the script its hard to update variable value &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;according to each users &lt;SPAN lang="en"&gt;or there is a method to do that ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;SPAN lang="en"&gt;thank you,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 17:55:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keep-variables-values-after-the-reload/m-p/1441474#M432476</guid>
      <dc:creator>Benbassou</dc:creator>
      <dc:date>2017-11-23T17:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: Keep variables values after the reload</title>
      <link>https://community.qlik.com/t5/QlikView/Keep-variables-values-after-the-reload/m-p/1441475#M432477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just mark this variable for inclusion in bookmarks and it will survive reloads. (Settings &amp;gt; Document properties &amp;gt; Variables &amp;gt; Settings for Selected Variable &amp;gt; Include in Bookmarks).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 06:22:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keep-variables-values-after-the-reload/m-p/1441475#M432477</guid>
      <dc:creator>sauliusr</dc:creator>
      <dc:date>2017-11-24T06:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Keep variables values after the reload</title>
      <link>https://community.qlik.com/t5/QlikView/Keep-variables-values-after-the-reload/m-p/1441476#M432478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Thank you very much &lt;SPAN style="font-size: 13.3333px;"&gt;Saulius&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;It's exactly what i was looking for. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 08:45:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keep-variables-values-after-the-reload/m-p/1441476#M432478</guid>
      <dc:creator>Benbassou</dc:creator>
      <dc:date>2017-11-24T08:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: Keep variables values after the reload</title>
      <link>https://community.qlik.com/t5/QlikView/Keep-variables-values-after-the-reload/m-p/1542354#M439538</link>
      <description>&lt;P&gt;Hi, do you know of any way to do this in Qlik Sense?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 13:58:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keep-variables-values-after-the-reload/m-p/1542354#M439538</guid>
      <dc:creator>morenoju</dc:creator>
      <dc:date>2019-02-11T13:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Keep variables values after the reload</title>
      <link>https://community.qlik.com/t5/QlikView/Keep-variables-values-after-the-reload/m-p/1836113#M1214899</link>
      <description>&lt;P&gt;Any response meanwhile how it works in Sense? I would like to use a user defined variable during a user-triggered partial reload, but it seems during the reload, a variable that is defined in the frontend does not exist.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2021 15:39:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keep-variables-values-after-the-reload/m-p/1836113#M1214899</guid>
      <dc:creator>michael_klix</dc:creator>
      <dc:date>2021-09-14T15:39:29Z</dc:date>
    </item>
  </channel>
</rss>

