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

Maximize Objects on activate sheet

Hi community,

As a work-around to a bug, it was recommended to me to add sheet triggers to some conditioned variable objects.  There is a graph object on the page and it is conditioned to show or not to the value of a variable.  The variable is changed by the action of a button. Basically it's just a way of doing a container object without the container (with buttons.) 

I added a sheet trigger to the sheet with the graph OnActivate Sheet.  The actions are maximize object with the object ID is if(v1=1, CH193). 

For some reason when I minimize the objects and click on the sheet, the objects don't maximize.

Is there something wrong with my if statement?  Why doesn't this work?

3 Replies
m_woolf
Master II
Master II

Do you have 2 left parentheses and 1 right parentheses in your expression?

Not applicable
Author

Nope sorry its if(v1=1,CH193)

erichshiino
Partner - Master
Partner - Master

Hi, Brandon.

That field on the action expects a string. So, your condition must be:

=if(v1=1,'CH193')    -> You will probably need the '= ' sign

Hope this helps,

Erich