Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
We've created a QMC Task in System->Supporting Tasks->QDS@**->External Program
and have given path of the .bat file, which contains following command
"C:\Program Files\QlikView\Qv.exe" /l "E:\path_to_my_qlikview_document.qvw"
exit
my_qlikview_document has a macro written inside, which is triggered post-reload in document settings
Running .bat file manually executes the commands written inside successfully.
Running the created Supporting Task doesn't do the same.
Can anybody help figuring out the reasons behind this behaviour?
PFB
Thanks
So what they other poster was trying to convey is the QV.exe must be properly 'registered/licensed' to the QlikView 'Service Account', which you can verify the account by going to the Windows Services Applet and checking what account is running the QlikView services. That account will need to be properly registered/licensed to the Desktop/Qv.exe client, and you will also need to open the file in question logged in as that user or us the Run as Different User option as the other poster recommended to set the macro security. What is likely happening at the moment is dialog requesting macro security clearance is waiting to be answered, but given it is running in batch mode, you will never see the dialog in this case. Hopefully this helps.
Regards,
Brett