Created a multiple pages mashup. But having problem to preserve the current selection when navigate from page to page.
For example:
If a user does selections on one .html page (A). Then close the page and open another .html page (B). These selections are lost when the user changes to another html page.
Or if keep at least one page open, then, the selections are retained. For example, open page A and B. Then make selection in page B. Close page B and open page C. The page C will retain the selections.
Environment:
Qlik Sense Enterprise on Windows
Resolution:
In order to preserve selections between pages in a multipage mashup, EnableTTL and SessionTTL needs to be enabled in the settings.ini of the Qlik Engine service.
For details, please see below article: Adjusting the Qlik Sense Engine TTL
Change page result a session being closed, which is expected behavior when the WebSocket between the client and the Qlik Sense Proxy Service is terminated.
The same behavior can be experienced on Qlik Sense Desktop, when refresh a sheet without any other pages open to maintain the WebSocket connection.
To ensure the WebSocket connection is maintained, make sure embed the changing html page as an iframe, and keep the menu with at least one Qlik Sense object as a static frame.
Alternatively, can also use technologies such as AngularJS to create enhanced WebApps without the need for switching between html page elements.