Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements
QlikWorld, June 24-25, 2020. Free virtual event for DI and DA gurus. Register Today
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Not applicable

Run macro on a Client-Side

Hello!

In my qvw i write this macro:

sub test

     msgbox 123

end sub

And add execute this macro to button. When i press this button in qlikview (like Developer), i see box "123". When i try to press button in IE (like client) - nothing happens!

What i need to do to launch macro on the client side?

Tags (3)
4 Replies
Highlighted
Partner
Partner

Re: Run macro on a Client-Side

If you use Plugin as client this will work.

If you use Full browser Mode (Ajax) it will not work.

Any macro with MsgBox will fail.

Highlighted
Not applicable

Re: Run macro on a Client-Side

Yes, i use IE plugin.

Why it does not work on AJAX?

And how to display the window for the client like "Msgbox" or "Wscript.Echo"?

Highlighted
Not applicable

Re: Run macro on a Client-Side

I create a new qvw project, and macro

sub test

     msgbox 123

end sub

work in qlikview and in IE!!!

But in old project not work...

I also tried

sub test1

     ActiveDocument.GetApplication.MsgBox("Hello world")

end sub

in new project - work

in old project - not

Highlighted
Master II
Master II

Re: Run macro on a Client-Side

Hi,

Macro's are not supported in Ajax mode