Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
Attend QlikWorld 2020 and hear keynote speaker, Malcolm Gladwell. Register by February 29th to save $200. Learn More
Highlighted
surajap123
Contributor II

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
Highlighted
Partner
Partner

Re: action

Hi,

Is this your requirement? Check the given application

View solution in original post

4 Replies
jzimolong
Contributor II

Re: action

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?

Highlighted
Partner
Partner

Re: action

Hi,

Is this your requirement? Check the given application

View solution in original post

Highlighted
surajap123
Contributor II

Re: action

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

Highlighted
Partner
Partner

Re: action

Ur Welcome