Skip to main content
Announcements
See why Qlik was named a Leader in the 2024 Gartner® Magic Quadrant™ for Data Integration Tools for the ninth year in a row: Get the report
cancel
Showing results for 
Search instead for 
Did you mean: 
ali_hijazi
Partner - Master II
Partner - Master II

Always one value selected

Hello
we've got an application in which we want 2 fields (currency, and aggregation_type) to be set to have always one value selected
we set this via the fields->settings

However we are using WIP as an archival tool for Qlik. Whenever we publish the app, this software empties the QVF from data so that it doesn't take too much space in the WIP database and so that publishing the QVF file executes fast.

but as you know when a QVF file is emptied from data, the always one value selected options will be lost
and we have to manually duplicate the app on teh server, re-set the option (alwasys one value selected) then publish and replace

is there a way to overcome this delimma 

I can walk on water when it freezes
Labels (1)
1 Solution

Accepted Solutions
Vegar
MVP
MVP

It should be possible to set this in a automated process using the Qlik Engine API: Qlik Engine - Field Description - AlwaysOneSelected.

I am not the correct person to explain how to do it, so if you don't then I suggest creating a new question under one of the more fitting forum topics.

View solution in original post

2 Replies
Vegar
MVP
MVP

It should be possible to set this in a automated process using the Qlik Engine API: Qlik Engine - Field Description - AlwaysOneSelected.

I am not the correct person to explain how to do it, so if you don't then I suggest creating a new question under one of the more fitting forum topics.

ali_hijazi
Partner - Master II
Partner - Master II
Author

Hello @Vegar 
thank you for your reply
I managed through the engine API to set the always one value selected
but this had to be done by executing several Json codes
is there a way to put all the jason codes in "one" package and execute it by one click

I can walk on water when it freezes