Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Partial Reload - Automatically resets variables ?

Hi All,

I am trying to setup partial reload at a frequency of 5 mins. The data reload works fine but every time the document is partially reloaded on the server  - the variables values are reset to its default values.

Any idea how I can setup partial reloads and not have the variables reset to default ?

Thanks!

PS:  This is the same issue as http://community.qlik.com/thread/39123

4 Replies
Nicole-Smith

You can write load script so that the variables are only set when there is a full reload:

IF IsPartialReload() = 0 THEN //If it is NOT a partial reload

    set Variable = whatever;

ENDIF


Not applicable
Author

I tried this already but it doesn't work in this scenario.

In my application the variable values are constantly updated based on user selections. So a script based solution does not work  

Anonymous
Not applicable
Author

QlikNY1911,

Is it only for partial reload?  I think it happens with any reload (?).

Anyway, in a similar situation when the value had to be kept, I replaced variable with a field which contained all possible values.  Field selections are kept for all users.
It was easy in my case because it was defined set of values.  Maybe not good in your case.

Regards,

Michael

Not applicable
Author

Michael - Thanks, that does sounds like a good workaround, but not ideal for my scenario.

I am looking for a solution that allows me use this as a variable and not loose the values on a reload.