Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
rudywelvaert
Creator
Creator

Macro doesn't work in WebView

Hello,

I wrote this Macro that works perfectly in normal view.

But when I go to WebView it doesn't work

Any idea if I need to check or uncheck certain things in order it to work also in WebView?

Once it is on the server, won't it work either?

I added an example Macro_Macro_WebView.qvw

Thanks

7 Replies
tresesco
MVP
MVP

Macros have limitations in ajax client (web view). And most of them won't work. Read it here : macros-are-bad

antoniotiman
Master III
Master III

Hi Rudy,

Macro doesn' work in WebWiew and/or Ajax Mode.

They work in QV Desktop Normal Wiew Mode andiIn QV Server with IE Plugin.

Regards,

Antonio

rudywelvaert
Creator
Creator
Author

Thanks

But this leaves me with the problem that what I want to achieve can't be solved with Macros.

I need to find an other way to change the Y-pos of an sheet object depending on e.g. the value of a variable.

Any idea how that can be done without macros?

R.W.

antoniotiman
Master III
Master III

Rudy,

this macro should work in WebWiew as well, because they are native APIs.

So should work also in Ajax mode.

rudywelvaert
Creator
Creator
Author

Thanks Antonio,

but it doesn't work in WebView

see the attachment Macro_WebView.qvw in original question

R.W.

antoniotiman
Master III
Master III

Rudy,

I have tried in WebWiew. It Works.

rudywelvaert
Creator
Creator
Author

Antonio,

Even in your image I can see it doesn't work. Look at the position of the buttons behind the menu.

In the image below you see on the left when the Web View is off, on the right side when Web View is on.

It's clear that de macro is not executed when Web View is on: the buttons don't change their Y-pos.

WebView.png