Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
NZFei
Partner - Specialist
Partner - Specialist

NPrinting Reports by External XML Doesn't Work

Hi everyone,

I have read and set up the external XML following the articleHow to Execute NPrinting Reports by External XML Request  but it still does not work. Here are what I have done:

1) NPrinting server has been set up (Enable External Request and define the source folder).

2) the QVS.process file has been created with the format:

<?xml version="1.0"?>

<schedules>

     <schedule file="C:\NPrintingTraining\NPrintingFiles\NPrintingTraining.nsq" type="job" entityName="AccessPoint Report" />

</schedules>

3) When I run the batch file to rename the QVS.process file to QVS.request file, I can see it stayed for a very short time and then is changed back to QVS.process. (Doesn't that mean NPrinting service has detected the request file and has run it?)

However the NPrinting job is not triggered. Nothing happened in NP.

Have I done anything wrong or missed anything?

Thanks

Fei

11 Replies
Not applicable

Hi, I checked as per your indication but unfortunately our request has no strange or hidden characters.

Here is the text

<?xml version="1.0"?>

<schedules>

<schedule file="C:\Users\F29832B\Desktop\Grid Nprinting\TIV_&_Iveco_MS_Summary_By_Segment.nsq" type="task" entityName="TEST_NP_LORV" />

</schedules>

Same thing with its job

<?xml version="1.0"?>

<schedules>

<schedule file="C:\Users\F29832B\Desktop\Grid Nprinting\TIV_&_Iveco_MS_Summary_By_Segment.nsq" type="job" entityName="TEST_NP" />

</schedules>

I opened a case and waiting for some hint or other test to do...

DO you have any other ideas?

Thanks in advance,

Domenico

Daniel_Jenkins
Specialist III
Specialist III

Hi Domenico,

I believe the ampersand (&) in the filename is the culprit. It is one of the five special characters in XML: < & > " '

The XML FAQ: What are the special characters in XML?

Could you rename the file removing & and then test?

Let us know.

HTH - Daniel.