Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
We've written a macro that runs a batch file:
sub launchbat
Set objshell = createobject("Wscript.Shell")
sCmd = Chr(34) & "C:\tagbatch.bat " & Chr(34)
objshell.Run(sCmd), 0, False
end sub
This works fine on my local machine. However, the end product we're doing is connecting to Qlikview Server via the IE plugin. The challenge is that we would like this batch file to be run on the server itself not on our clients' machine. We've put this batch file on the root of our server. Now, how can we make sure Qlikview runs the file on the server when accessing via IE plugin?
Thanks for your help!
Hi.
All macros are run on the client, so this will not work.
What you can do is to create an External task in Publisher that will run your batchfile.Then EXD enable it. The EXD can be run from the client. I haven't tried running EXD from a macro, but it is worth a try. Have a look in the manual on how to setup EXD.