Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
surajap123
Creator III
Creator III

action

Hi Experts,

I have onOpen Trigger in document properties->Action tab. The action is 'select in field', so that 2 values are selected whenever the qlikview document is opened.

My requirement is to have same action in UI, so that user can get that default selection. I achieved this by putting the same action in a button.
So, when i click the button the default selection is made.

My other requirement is, when we click on button again it should bring the normal state and change the text of the button to return to detault selection.?

Please let me know, how to achieve this

1 Solution

Accepted Solutions
kavita25
Partner - Specialist
Partner - Specialist

Hi,

Is this your requirement? Check the given application

View solution in original post

4 Replies
jzimolong
Creator II
Creator II

You can assign the text of button in a variable, and use the action "Set Variable" to change the text each time the button is clicked.  Perhaps a bookmark could be applied to make your default selections.  You would then have to play around with the sequence on the button actions, and the onOpen actions to get desired result.

I can't open the qvw, so I couldn't mock it up.  Hopefully these couple ideas help?

kavita25
Partner - Specialist
Partner - Specialist

Hi,

Is this your requirement? Check the given application

surajap123
Creator III
Creator III
Author

Thanks a lot. I wouldn't have achieved it without your help!

kavita25
Partner - Specialist
Partner - Specialist

Ur Welcome