Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Actions doesn't starts in the Webview

Hi,

the new feature "WebView" in version 10 is very nice but I have a problem with actions "External - Makro"

In the attached example I have a button with a makro to execute when i push this button.... In the nornal view/desgin is everything ok, but if I run the application in the WebView nothing happens pushing this button.

And exists this problem with the QlikviewServer too?

Please help me?
Ivo.

8 Replies
Not applicable
Author

As far as I know msgbox is not supported in WebView/Ajax mode. Other commands though is supported such as ActiveSheet, ActiveDocument, etc.

Not applicable
Author

Hi

thx for the fast reply.

But trying this, without msgbox, nothing happens by clicking on the button in the WebView.... In the "NormalView" it works fine.
See the exapmle attached.

Best regards
Ivo.

Not applicable
Author

Hi Ivo,

I've tested the attached document and it does work on my v10 instance. Attached is my server setup in terms of security -- I think you need to active "Allow macro execution on server". If you have unsafe macro calls (e.g. createobject, file commands) you need to activate "Allow unsafe macro execution on server". I hope this helps.

Not applicable
Author

Hi pinongs

Thx. I'll test it on the server next week and then I'll write here the result. I hope the problem is only on the WebView of my the Developer-Client-Instance...

jerrysvensson
Partner - Specialist II
Partner - Specialist II

Running 10 SR1 and it still doesn't work even in Developer.

Try this:

Makro code:

sub ClearTest

ActiveDocument.ClearAll

end sub

Create a button and add a macro trigger.
Change to Webview , click on button. Nothing happens.
Works fine in regular mode.
Same problem running this in Ajax on server 10 SR1


Not applicable
Author

Hi,

I was able to reproduce your issue in SR1 and IR. However, your code does work when I published the document in the server and open it via Ajax client.

Not applicable
Author

Hi i am having the similar problem. can you please help me. the following macro is not executing in web view. whereas it is working on desktop client. i am using Qlikview v10 SR3 please help me asap.

Anonymous
Not applicable
Author

Hi bhammiredy, do you need to use the non-IE plugin solution? I found others mentioning that some macros may/may not work well with Ajax (or supposedly the OCX) at the present. http://community.qlik.com/message/126366#126366

I'm researching similar issue, and hopefully, if I can find a workaround, I'll post it here. I appreciate if you could share what's your findings as well.

Thank you