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

Actions and triggers

Hi everybody,

I would like if someone could explain me which actions are to be used with triggers, and which one with buttons.

I mean that ervery type of action (select a value in a field, activate object, launch macro...) is always available for every type of event (opening a document, deactivating a sheet, clicking on a button...) but not all of them seem to work in every case.

For example, the action "Launch" (an external application for example) from the category "External" seem to work only with buttons. Indeed, it doesn't with documents and sheets triggers, which is what I would like to.

Thus I would like to know which are the actions that can be used with triggers, if there is a document listing them or something like that.

Thanks in advance.

Florian

4 Replies
Not applicable
Author

Hi Florian,

It depends on what client you are using.

Using QlikView Desktop, all triggers should work (Document triggers, Sheet triggers, field triggers, and son on) but if you are accessing the QV app via Full browser mode (e.g. using Chrome,Firefox or IE without the QV plugin) most of the actions via triggers (and/or amcros) won't work because of technology constraints. And the "Launch" action is a very good example of what kind of actions won't work via Full Browser mode.

Hope it helps.

Not applicable
Author

Hi,

Thanks for your answer. I am precisely using QlikView Desktop and launching an external application on the activation of a sheet doesn't work for me, unless I use a macro for that (this is the code of my macro :

sub launch

set app = ActiveDocument.GetApplication

app.Launch ".\Sources\extraction.js", ""

END sub

)

Unfortunately, my purpose is to deploy my application on a server, so as to access it by a web browser, and I know that the use of macros with Qlikview Server is not recommended.

That's why I would like to know if the "Launch" action would work with a trigger, but if you tell me that it's the typical example of non working actions via browsers, I'm kind of stuck.

Thanks anyway for these precisions.

Florian

Not applicable
Author

Did you try creating a button with the Action "open URL" and use the URL to the JS file you want to run?

Not applicable
Author

The problem is that I don't want to run my javascript file by cliking on a button.

I want it to be launched at the activation of a sheet, because I need it to be done automatically, this is why I used a macro.

And by the way, I've found that in the Qlikview manual, the pages from 586 to 589 indicate which actions can be used with document and sheet triggers or not, and unfortunately "Open a URL" and "Launch" aren't available for others objects than buttons.