Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

macros in AJAX

I want to run macros in my tool in AJAX. Is it possible to do that?

7 Replies
rubenmarin

Hi Piyush, from Reference Manual, in the chapter 80 "Using Macros in QV Documents on the QV-Server" you can check macros limitations.

It's a short chapter, not sure but maybe there is your answer. Depends on what you trying to do with macros.

Not applicable
Author

Hi Ruben,

I know there are limitations while using AJAX. But i have created a button to run the macro and its running but not stopping at all or generating a ppt report that the macro is supposed to do. Can you help me with that?

jerrysvensson
Partner - Specialist II
Partner - Specialist II

PPT macro export will be difficult.

All macros in Ajax is executed serverside.

rubenmarin

Hard to say without debug. I did that in a document opened from server through qlikview desktop, not AJAX, in this case I used a network path like \\DocumentsServer\PptExports\Report.ppt

This way, server and user can access the path but from AJAX I'm not sure if this can work.

sebastiandperei
Specialist
Specialist

I don't know if you can, but remember that you can install QVDesktop on client, so it can access to application with "open in server..."

Doing this, all my macros worked fine for me!

jerrysvensson
Partner - Specialist II
Partner - Specialist II

You could try to install Powerpoint on your QVS machine and save the export to a local drive on the QVS machine.

Might work, haven't tried it myself though.

Not applicable
Author

Hi,

I have created a template for it and stored it at the required location. Its working well on desktop or even on remote server but not on accesspoint. Is there a particular reason for that?