Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Highlighted
bharatkishore
Contributor III

Macro not working in access point

Hi All,

I have written the following macro.

Sub Info ()

  msgText = "As communicated file is deleted."

  Msgbox "Hello " & msgText

End Sub

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..

Thanks,

Bharat

8 Replies
YoussefBelloum
Esteemed Contributor

Re: Macro not working in access point

bharatkishore
Contributor III

Re: Macro not working in access point

Hi,

Thanks for you reply. i have done all the steps but still it is not working..

Any suggestions..

YoussefBelloum
Esteemed Contributor

Re: Macro not working in access point

bharatkishore
Contributor III

Re: Macro not working in access point

Thank you.. But still i am facing this issue. Any suggestions why this might be happening .. And how to resolve..

MVP
MVP

Re: Macro not working in access point

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.

bharatkishore
Contributor III

Re: Macro not working in access point

Hi Miguel,

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.

MVP
MVP

Re: Macro not working in access point

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.

bharatkishore
Contributor III

Re: Macro not working in access point

Thank you so much for your reply.. Will check all necessary things.

Community Browser