Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

asudhakaran
New Contributor

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

Tags (2)
7 Replies
reshmakala
Contributor III

Re: Listbox settings reset after reloading on QV server

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?

elena888
Valued Contributor

Re: Listbox settings reset after reloading on QV server

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
Valued Contributor II

Re: Listbox settings reset after reloading on QV server

Hi,

did you saw this one?

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

HTH

André Gomes

reshmakala
Contributor III

Re: Listbox settings reset after reloading on QV server

Probably, its a bug in your version.

mov
Esteemed Contributor III

Re: Listbox settings reset after reloading on QV server

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

Highlighted
elena888
Valued Contributor

Re: Listbox settings reset after reloading on QV server

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
New Contributor III

Re: Listbox settings reset after reloading on QV server

Hello,

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

Capture.PNG