Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Activate a Button when sheet opens using Trigger

I am using V10SR1 and trying to activate a button using a trigger when the sheet opens. The button works fine when manually selected (clicked) , but it will not activate using a trigger .

1 Solution

Accepted Solutions
matt_crowther
Specialist
Specialist

From the Qlikview API Guide:

rem ** press button BU01 **
ActiveDocument.GetSheetObject("BU01").Press

Create a Macro with the above and call the macro from a Trigger which is run on Activation of the sheet.

Hope that helps,

Matt - Visual Analytics Ltd

View solution in original post

3 Replies
matt_crowther
Specialist
Specialist

From the Qlikview API Guide:

rem ** press button BU01 **
ActiveDocument.GetSheetObject("BU01").Press

Create a Macro with the above and call the macro from a Trigger which is run on Activation of the sheet.

Hope that helps,

Matt - Visual Analytics Ltd

Not applicable
Author

Thanks Matt,

It worked like a charm!

Mike

skiruthigadevi
Partner - Creator
Partner - Creator

Hello Matt,

I am trying to implement this logic in my application but it is not working. I have attached a sample application, could you kindly have a look when you have a chance?

As of now, when I click the button my metrics is getting cleared.

so now I am trying to automate the button click while opening the document instead of clicking it manually.

Thanks,

Kiruthiga