Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
vlad_komarov
Partner - Specialist III
Partner - Specialist III

How to Detect if QVW is being reloaded from Desktop or via QMC task


Hello All,

I am looking for the best option to detect if QVW (that generates QVD files) is being reloaded from QMC or from QV Desktop.

I need to re-direct the output to different folders depends on the type of the reload process.

I've tried to use QvWorkPath and QvWorkRoot system variables, but it's not the ideal solution in my case.

Is there any other way to do so?

Will appreciate experts' response.

Regards,

Vladimir

2 Replies
Giuseppe_Novello

Vladimir,

The other way is enable Document logging, which it will tell you what process executed the reload either "QVB" = Publisher or "Qlikview Desktop" = Desktop. Then you can create a application that can read / feeds from those logs so it can be easy to read. Attached article explain how to enable Document logging.

Giuseppe Novello
Principal Technical Support Engineer @ Qlik
vlad_komarov
Partner - Specialist III
Partner - Specialist III
Author

Giuseppe,


Thank you for suggestion. It's a bit "excessive" approach (I have to detect the Load Type within the application itself), so I have to do the log file load BEFORE my main data load, but after the application has started.


My only concern is if QV releases log file to be accessed by other processes during the reload (looks like it is).

But in general, this should work, thank you.


I was hoping that this variable or parameter will be accessible to developers since QV writes this information (Process Executing: = .....) to the log file anyway. But it looks like one of "undocumented" features....

Regards,

Vladimir