Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Announcements
QlikWorld, June 24-25, 2020. Free virtual event for DI and DA gurus. Register Today
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Creator II
Creator II

Select in Field (just once - on open application)

Hi,

I am using currently Select in Field Trigger to pre-select two selections on one tab. But when I am jumping through my (3) tabs and go back to tab nr1, it is again selecting the predefined selections.

Is it also possible to "just once" select the given selections with a Trigger?

Kind Regards,

Chris

5 Replies
Highlighted
Partner
Partner

Re: Select in Field (just once - on open application)

you can take advantage of the OnOpen trigger (at the document level)

on this trigger select the desired sheet and add the select in field

this will happen only on opening the document for the first time

but keep in mind that this trigger only works if the document is open in server using IE browser with IE-plug in installed

it doesn't work with other browsers like chrome or firefox (here I'm assuming the document is being opened from the access point)

or you can add a conditional action on the OnActivate Trigger of the sheet

if(condition, then select in field)

condition could  be a variable that at the beginning contains a value and once the sheet is activated it is set to another value and so on the second and successive activation of the sheet ,selection in field is not applied

I can walk on water when it freezes
Highlighted
MVP
MVP

Re: Select in Field (just once - on open application)

PFA

Check the following triggers:

  • OnOpen (Variable value setting)
  • OnActivateSheet (Conditional trigger)
Highlighted
MVP
MVP

Re: Select in Field (just once - on open application)

There is some issue, not allowing me to attach

Highlighted
Creator II
Creator II

Re: Select in Field (just once - on open application)

Hi,

thanks for your reply. Unfortunately the IE plugin is not supported anymore and we are using Ajax.

What if I use the on open trigger in combination with Ajax?

Any ideas?

Highlighted
Partner
Partner

Re: Select in Field (just once - on open application)

the onOpen trigger doesn't work in Ajax

I can walk on water when it freezes