Discussion Board for collaboration related to QlikView App Development.
I have written the following macro.
Sub Info ()
msgText = "As communicated file is deleted."
Msgbox "Hello " & msgText
This is working fine in server. But when i try to do in access point it is not working.
Note: testing in IE plugin and checked VB script and checked System Access and Allow system access. Using version 12.20 Sr1
Can you please tell me what i need to do..
How is the macro triggered? Clicking on a button, activating a sheet, automatically?
MsgBox is a VB function which will not work with any browser which is not Internet Explorer. Make sure the QlikView server where the application resides is included in the trusted zones in the Internet Options and that the trusted zones permissions allow the execution of code.
Macro is triggered via document properties - on open trigger--external-- run macro.
So, now will the MsgBOX will not work in IE or any other browser.
OnOpen will work. We have triggers working OK OnOpen, but they are using actions, not macros.
Instead of using the AccessPoint, open the document with QlikView Desktop > File > Open in Server and see if that makes any difference.
Next, using IE, install the QlikView Plugin for the version of QlikView Server you have installed, and try opening the document with it.
Next, add manually the site to the Trusted Sites list and try again.
If you already tried and it didn't work, I'd check with Qlik Support sending them a sample app so they can reproduce the same behavior you see.