Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
fabian3684386
Contributor III
Contributor III

Can I store a JavaScript variable across extension reloads?

The variable stores objects and currently gets resetted to its default value each time the controller is reloading, e.g. user makes data selection.

How can I prevent this and store it more long-term in some kind of global or Qlik session scope?

Qlik Sense Business 

Labels (1)
1 Solution

Accepted Solutions
ajaykakkar93
Specialist III
Specialist III

Hi,

One solution can be, you store values in cookies in browser because if you reload the page your variables are flushed.

Please mark the correct replies as Solution. Regards, ARK
Profile| GitHub|YouTube|Extension|Mashup|Qlik API|Qlik NPrinting

View solution in original post

1 Reply
ajaykakkar93
Specialist III
Specialist III

Hi,

One solution can be, you store values in cookies in browser because if you reload the page your variables are flushed.

Please mark the correct replies as Solution. Regards, ARK
Profile| GitHub|YouTube|Extension|Mashup|Qlik API|Qlik NPrinting