Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I've seen several threads on this topic, but all from several years ago.
Requirement: Multi page mashup (all pages from same QS app). I need to preserve selected values between pages and when user returns to original page I clear one of the applied filters.
I have this set up with two javascript files, and it works as long as I have dev hub open. But as soon as I close dev hub selections are not preserved between pages.
I'd rather not create a single page app with a bunch of hidden divs, but that seems like the best way I've seen?
Any advice appreciated.
Have you tried setting the TTL on the URL? https://github.com/qlik-oss/enigma.js/blob/master/docs/api.md#sense-utilities-api
If you don't provide a TTL the session will be closed when you go to a new page and clear any selection (I think)
Have you tried setting the TTL on the URL? https://github.com/qlik-oss/enigma.js/blob/master/docs/api.md#sense-utilities-api
If you don't provide a TTL the session will be closed when you go to a new page and clear any selection (I think)
As @hakana mentioned, the easiest way to solve this scenario nowadays is to use the TTL settings.
You can either have it in the URL for a specific session, or you can set it in the Engine settings.ini file so that it's global on the server.
https://community.qlik.com/t5/Knowledge/Adjusting-the-Qlik-Sense-Engine-TTL/ta-p/1713815