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

Trigger "Onopen" of document

Hi All,

This might be something very simple but I am stuck.

I have a trigger "OnOpen" of the document as below:

Action Type: Selection

Action: Select in field

Field Name: example

Search string: ='(test|not*|*--*)'

When I open the document, in the field example, 'test' and 'not test' are selected but '----' is not getting selected.

Anybody has any ideas on this? Am I missing something?

Thanks!

8 Replies
rustyfishbones
Master II
Master II

Do you have a field called ------?

Not applicable
Author

Field name is "example" and it has values as ------

rustyfishbones
Master II
Master II

Try removing one of the -

so it would be

2014-02-27_1024.png

Not applicable
Author

Tried, doesn't work.

rustyfishbones
Master II
Master II

Hi,

It works for me see attached file

Not applicable
Author

Thanks Alan. It worked for me also when I created a sample file.

Just one question, I will try to explain my scenario in brief :

In my actual file I have few other triggers "Onopen" of the document.

A field called Current Phase having values Ph 1, Ph 2, Ph3, Ph4, Ph5 and released.

Trigger is to select  Ph 2, Ph3, Ph4, Ph5.


Another field Phase review decision having values Pass, Not Ready, cancelled and --------

Trigger is to select Pass, Not Ready, -------


Since all the projects having decision as "---------" belong to Ph1 and the default selection for Current Phase do not include Ph1 , "--------" is not getting selected even after it is available in the trigger. Is this correct?

rustyfishbones
Master II
Master II

Yes that's correct

Not applicable
Author

Thanks for confirming and for all your time.