Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Listbox settings reset after reloading on QV server

Hi,

Requirement: The list box object (with LED selection type) to always have ONE values selected.

Issue: I have tried enabling the setting for the list box object, which can be found in the properties -> general tab called "Always one selected value".

But every time I save the app and reload it on the qlikview server, the object properties gets reset. Is this a bug ?

Regards,

Abhay

7 Replies
reshmakala
Creator III
Creator III

Hi ,

I do not see any problem when I reload after setting the option to select one value. I am using SR6 on server and desktop. what version are you using?

Anonymous
Not applicable
Author

Thanks for your post, I have the same issue, but not always... Sometimes, after a reload (even with local client), that setting is lost

I use QV 11 SR1

agomes1971
Specialist II
Specialist II

Hi,

did you saw this one?

"Always One Selected Value" option is disabled in list boxes

HTH

André Gomes

reshmakala
Creator III
Creator III

Probably, its a bug in your version.

Anonymous
Not applicable
Author

One possible reason - the selected value doesn't exist after loading new data.

Anonymous
Not applicable
Author

Hi,

I asked support to Qlikview for this issue, and I'm waiting for an answer.

Meanwhile, I found a workaround in order to have always just one value (for example for listbox for field MONTH).

In document properties > Triggers > Field Event Trigger  add

1) OnSelect Action for MONTH: Select in field > MONTH with search string

=

if(GetSelectedCount(MONTH)<>1, month(max_data), MONTH)   // or month(today()) instead of month(max_data)

2) OnChange Action for MONTH: as the above (Select in field > MONTH with search string

=if(GetSelectedCount(MONTH)<>1, month(max_data), MONTH)   // or month(today()) instead of month(max_data)  )

So when a user tries to select no value or more than one, the listbox will show a predefined value (today or max month in the data).

Elena

amirkachlon
Contributor III
Contributor III

Hello,

if it is still relevant, try to "Remove last document state" on access point.

Capture.PNG