Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
realpixel
Creator

Reload macro on serveur

Hello,

From QV desktop, the macro is correctly reloaded on open document.

I created trigger with option "onopen" or with "onpostrelaod" same problem, macro is correctly reloaded on desktop but not on server.

"allow macro execution on server" and "allow unsafe execution macro" on QV server are enabled.

Someone have an idea, I need to execute the macro on server when the document is reloaded.

I read many post, it seem that the QV server don't autorize the execution of macro when document is reloaded.

There is an another possibility to do this operation?

2 Replies
Siva_Sankar
Master II

Hi,

There were several post about the issue that macro is not working on server environment. In server side, most of the macros will not work. However, you can make sure the following things.

  1. Check whether you are granting System Access to your macros in the server through QEMC (System, Setup, QlikView Servers, expand and click, Seucrity tab in the right pane "Allow unsafe macro execution on server" and "Allow macro execution on server" ticked) and in the Macro editor, (Ctrl + M, bottom left drop downs)
  2. If Qlikview is  creating some filesystem object (such an excel file) make sure you are using the IE Plugin.

Regards.

Siva

realpixel
Creator
Author

Hello,

Thank you for your reply, my problem is not with IE plugin, if I create a button to execute the macro, it's work correctly.

I have a task to reaload this report in QV server, but when the report is reloaded the macro is not executed.

In QV desktop when the report is open the macro is automaticaly executed without problem but in QV server when the task for reload is executed the macro is not reloaded.

Someone have an idea how to reaload the macro when the task is planned in QV server?