Qlik Community

QlikView Publisher

Discussion Board for collaboration on QlikView Publisher.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
vlad_komarov
Valued Contributor 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

Tags (3)
2 Replies
Employee
Employee

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

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
Qlik's Principal Technical Support Engineer
vlad_komarov
Valued Contributor III

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

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

Community Browser