Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Announcements
Make your voice heard! Participate in the 2020 Wisdom of Crowds® Survey. BEGIN SURVEY
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
Highlighted
Luminary
Luminary

Activate a Button when sheet opens using Trigger

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
Highlighted
Luminary
Luminary

Activate a Button when sheet opens using Trigger

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

Highlighted
Not applicable

Activate a Button when sheet opens using Trigger

Thanks Matt,

It worked like a charm!

Mike

Highlighted
Partner
Partner

Re: Activate a Button when sheet opens using Trigger

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