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

Multi-select in listbox when deployed

Hello All,

I'm a newbie and have been working with Qlik for about 15 days now. There is a list box in my qvw, which has to be single select. It was initially multi-select, so I made it single select. But when I deploy the same to the server, the same is not working.

Is this an expected behavior of Qlik, for which there is some sort of fix? Or is there something I could try to achieve the result?

Thanks in Advance.

Regards,

Surya

1 Solution

Accepted Solutions
jonathandienst
Partner - Champion III
Partner - Champion III

Single select is a property of a field, rather than a list box (despite the fact that you actually set the property in the list box properties dialog). If you have set another list box with the same field to allow multiple selections, that will "undo" the single select option on the first list box.

If your deployment process empties the data from the qvw before deploying, this will also clear the single select setting as this cannot be enforced if there is no data in the field. The same applies to a reload which loads nothing in that field.

You can either turn this property on manually or using a macro. There is no direct way from the script.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein

View solution in original post

4 Replies
tresesco
MVP
MVP

Are you using any trigger or 'Always One Selected Value' ? Which client are you using, ajax or Plugin?

Not applicable
Author

I am not using a trigger for 'Always One Selected Value'. I am using the option provided in the Listbox properties.


I am using Plugin.

jonathandienst
Partner - Champion III
Partner - Champion III

Single select is a property of a field, rather than a list box (despite the fact that you actually set the property in the list box properties dialog). If you have set another list box with the same field to allow multiple selections, that will "undo" the single select option on the first list box.

If your deployment process empties the data from the qvw before deploying, this will also clear the single select setting as this cannot be enforced if there is no data in the field. The same applies to a reload which loads nothing in that field.

You can either turn this property on manually or using a macro. There is no direct way from the script.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Not applicable
Author

I have another list box with the same field having multi select.

So, if I understand correctly, if I have multiple list boxes which use the same field and some of them are multi-select, then there is no way I can achieve a single select from a list box. Am I right in my understanding?