Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
kakani87
Specialist
Specialist

Always One selected value Issue After reload the Document

Hi Floks,

When i check Always One Selected value in a listbox this is working fine.

but when i reload the document this Always One Selected value is getting disabled.


Any suggestions


Regards,

Kishore.

1 Solution

Accepted Solutions
chinnuchinni
Creator III
Creator III

for inline load also it will work properly. once close your application and run it again it will work as usual hope fully.

i tested it lot of times.its worked for me properly

View solution in original post

10 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

The "Always One Selected" property is a property of the field, even though it is set as a listbox property. So it is part of data rather than layout.


If the field is not loaded (for example, opening the file in no-data mode) then the property will be lost. If the field is loaded with no values (for example, all null), then the property will also be lost, as the property cannot achieve the "one selected" requirement.

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

Are you facing the issue when you do a reload on desktop or when you are viewing it in Web Browser?

kevinalvino
Partner - Creator
Partner - Creator

Hi kakani87

This is based on my experience, but if you select a list box and activated the always one selected value, it's working. Even after that you try to reload it's working. There are exception though, when you do reload the same data source with new changes, there's possibly the starting value for the always one selected value is no more in the data source, the Always one selected value must be re-applied.

Regards,

Kevin

chinnuchinni
Creator III
Creator III

where did you test it ? server level or desktop level ?

kakani87
Specialist
Specialist
Author

Yes Vineeta ...

This problem is in desktop

the Filter is an inline load as follows

Load * Inline

[

value,Descp

1,'InvoiceAmount'

2,'InvoiceCount'

3,'SalesReturns'

4,'ChequeBounce'

5,'NetSales'

]

;

kakani87
Specialist
Specialist
Author

Desktop level with inline load the filter is considered

Load * Inline

[

value,Descp

1,'InvoiceAmount'

2,'InvoiceCount'

3,'SalesReturns'

4,'ChequeBounce'

5,'NetSales'

]

;

kakani87
Specialist
Specialist
Author

Filter is an inline load so this might be an issue

chinnuchinni
Creator III
Creator III

for inline load also it will work properly. once close your application and run it again it will work as usual hope fully.

i tested it lot of times.its worked for me properly

kakani87
Specialist
Specialist
Author

Yes praveen now this is working fine.

Even i'm confused with this Because some rare scenarios faced by me yesterday as well regarding a table load and after a while the same script started loading the table .