I assume you have some hidden objects or conditional objects which NPrinitng needs to read so it adjusts the existing configurations.
cheers Lech When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please LIKE threads if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem.
Re: NPrinting 17 issue ? corrupt model blank NP_SHOW
Hi Paul, Not exactly but I could understand what is happening.
You've probably already noticed that NPrinting engine service opens a graphical session in Windows from where it opens the model using QlikView Desktop. You are aware of this because if you connect to the remote desktop server you will see the "Interactive Services Detection" message which allows you to see what is happening in that graphical session that started the NPrinting engine service.
Whether in the metadata extraction process or in a report generation task, what NPrinting does is send actions to that instance of QlikView Desktop, but first it hides the user's view objects
(I imagine that to prevent you from interrupting the process [I think it uses the COM interface provided by QlikView Desktop]).
Apparently then NPrinting engine service creates that variable NP_SHOW and temporarily adds it to all objects in the model to hide them from you view.
The latter is fine and does not seem to be a problem since NPrinting service DOES NOT SAVE the model when finished using it, the question is Who saved the model in that process?: You.
In conclusion, I realized that this problem occurred when I entered that graphical session myself and saved the model during the process or before NPrinting service closed the process; if you do not interrupting the process the problem will not occur.