Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi ALL,
I using below edit module to get qvd file from a chart.
Sub Snap
QVDFile = "F:\QlikView\Application\Qv_Sales_Marketing\IFS SOB\export.qvd"
set obj = ActiveDocument.GetSheetObject("CH332")
obj.Export QVDFile, ","
ActiveDocument.Reload
End Sub
when reloading manually "export.qvd" will created from above script. when it running through reload schedules qvd file not exporting.
please advise.
QMC tasks run without an UI - just updating the data - and therefore no macros are available and there aren't any charts. Such jobs needs to run always with the desktop client whereby they might be triggered from a qmc task with an EXECUTE statement. Depending on various aspects / restrictions within the environment it could become quite complex to get it to work. Searching for macros with qmc tasks here in the community should return a lot of related postings.
- Marcus
Did you locate the issue? Perhaps the issue could be related to the permissions of the user account running the manual reload vs the scheduled reload (service account). Perhaps some permission differences which causes the QVD generation to fail when run by the scheduler.
QMC tasks run without an UI - just updating the data - and therefore no macros are available and there aren't any charts. Such jobs needs to run always with the desktop client whereby they might be triggered from a qmc task with an EXECUTE statement. Depending on various aspects / restrictions within the environment it could become quite complex to get it to work. Searching for macros with qmc tasks here in the community should return a lot of related postings.
- Marcus