Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.


Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

Not applicable

How and where is the selelction state stored?

In our QVW document we have a field pre-selected. It is always preselected when opening the QVW with the Developer.

Our issue is, that we lose the pre-selection after distributing the document and opening it via accesspoint.

Where is this "pre selection" stored on the application server side?

So, how and where is "pre selection" supposed to be stored.

Cookie, Registry, others?

Thanks for helping me out.

Tags (1)
4 Replies

How and where is the selelction state stored?


All actions and macros and stored in the same document and triggered when something happens in the document. Most of these macros and actions doesn't work when opening the document on the server (ajax, plugin, "Open in Server" in Desktop). Opening triggers will not work server side.


Not applicable

How and where is the selelction state stored?

Further info: We are using QV8.5.

So there is no native way to export the current selection state of a QVW?! According to our end-users it did work before some time ago. Although I am unable to confirm that, I do beleive them.

So, as I understand my only option is:

1.) The developer has to create a macro the selects "my" field during the "open document trigger", and it is not sure wether the macro is working then at all.

Other suggestinos/options?


How and where is the selelction state stored?

Yes, you can keep the saved selection state just fine IF you set the right options in Publisher. Unfortunately, I no longer have Publisher v8.5, and can't say for sure what the right options are. I think it was a rather counterintuitive setting of three different checkboxes in some particular pattern. Basically, I checked every combination of the three until it finally worked, and then just copied from that into other documents.

I actually recommend going the macro route, though. It's good protection against developers fiddling around with selections, saving, and then installing, and forgetting that they'd changed selections. I've done it several times myself. It also allows for more complicated selections, such as selecting the current month, without needing to reinstall on the first of each month. While in theory, triggering a macro OnOpen on the server is not supported, it always worked for us.

As far as where the current selection state is stored, my belief is that it is a direct part of the document, not in a cookie or registry entry or anything like that. My belief is that QlikView Publisher is overriding that selection if you don't have the right options set. I don't have any data to back that up, though.

Version 9 publisher appears to default to keeping your saved selections, so it's a little easier in that regard.

Not applicable

How and where is the selelction state stored?

Sounds reasonable.

Can't find the mentioned checkboxes, though. However, I will suggest the macro option to the devs.

Thanks for your input.

Community Browser