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

Keep selected value after reload

Hello I'm new on QlikView and I have a little issue,

I need to keep selected a value on a listbox. If I do the reload on desktop I have no problem, the value is still selected, but when I do the same on the server and open the document in a web browser the selection is lost.

My first idea was to set up a trigger when the document is opened, but I have been told that I can't use triggers. There is another way to do it (maybe in the script)?

Thank you,

   Antonio David

1 Solution

Accepted Solutions
marcus_sommer

Beside the use of a trigger you could enable "session recovery" within the qmc which will always remember the last state of selections and opened sheets and objects.

- Marcus

View solution in original post

7 Replies
MindaugasBacius
Partner - Specialist III
Partner - Specialist III

What's the reason why you can't use triggers?

Kushal_Chawda

AFAIK there is no other way to do the default selection without trigger.. You can check the always one selected option in listbox properties but it will always select single value, you will not be able to select multiple value

marcus_sommer

Beside the use of a trigger you could enable "session recovery" within the qmc which will always remember the last state of selections and opened sheets and objects.

- Marcus

Colin-Albert

Another option could be to add a bookmark with the initial values that the users can select manually, or select the bookmark via a trigger.

Not applicable
Author

I have been told that triggers doesn't work well on Ajax clients.

Not applicable
Author

Thank you!

Not applicable
Author

I already thought about it, but the selection must be automatic without any interaction of the client.