Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

Not applicable

Triggers Not Working

Hello

I am unable to get a trigger to work within my qlikview document. The trigger is to be set for the 'on open' action, however it does not work. I have macros enabled under the security settings too but the feature still doesn't work. Any ideas?

I've attached a screen shot of the settings for the trigger.

Tags (1)
10 Replies
swuehl
Not applicable

Re: Triggers Not Working

Remove the leading equal sign from the field entry box, just input the field name.

Not applicable

Re: Triggers Not Working

That doesn't work, I tried that previously and reloaded the app. Still doesn't work

swuehl
Not applicable

Re: Triggers Not Working

Ok, still use the field name without leading equal sign.

Are you using the OnOpen trigger when opening the QVW in the desktop client? Or in another client?

Could you post a small sample QVW? Maybe it's an issue with the format of your field. What does =max(KPI_Year) return in a text box?

settu_periasamy
Not applicable

Re: Triggers Not Working

for checking purpose,

Create a Button, Set the Select In Field

Field :  KPI_Year (don't put equal to sign) - Suggested by swehul

Search String :  =Max(KPI_Year)

check, the KPI_Year selected or not.

kush141087
Not applicable

Re: Triggers Not Working

As suggested by Swuehl. It should work. Remove '=' sign. Reload application. Save application. Open application. Trigger should work.

Not applicable

Re: Triggers Not Working

This still isn't working. I am using the OnOpen trigger when opening the QVW in teh desktop client. When I put the field in a text box it does work and shows the max year. I'm not sure what else to do

kush141087
Not applicable

Re: Triggers Not Working

How many triggers you have on OnOpen application? When you open application , is there any sheet level triggers that may override the OnOpen trigger

Not applicable

Re: Triggers Not Working

There aren't any sheet level triggers and this is the only document level trigger

prabhu0505
Not applicable

Re: Triggers Not Working

Might sound funny but give a try..

1. Remove trigger

2. Save and close the app

3. Open the app and create new trigger

4. Save and close

5. Try your luck..

Hope you are not using '=' sign before field name and data is available in your application.

I did something like in past I guess..