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: 
Sandeep_sandy
Contributor
Contributor

Qlikview edit module running failure in qlikview management console

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.

 

 

 

1 Solution

Accepted Solutions
marcus_sommer

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

View solution in original post

2 Replies
Jon_B
Support
Support

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.

Please, remember to "like" the post and mark the thread as solved once getting the correct answer
marcus_sommer

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