Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
HI There
I've an issue here with Nprinting, looking forward to your help and suggestions. So here's the issue -
I'm triggering a NPrinting job via external xml request. There's a batch script i've written to copy the '.request' file to the Nprinting External requests directory and i've scheduled this batch script in QMC. This way i'm trying to automate the process but the problem here is - the NSQ file executes fine when ran from Nprinting Client but doesn't execute by this external XML request.
Batch Script -
copy "\\WA01708p\QlikView\SourceDocuments\EPD\India\NPrinting\Source XML\Disha.request" "\\WA01711P\QlikView\NPrinting\ExternalRequests\Disha.request"
External request File -
<?xml version="1.0"?>
<schedules>
<schedule file="\\WA01708P\Qlikview\SourceDocuments\EPD\India\NPrinting\Solution\Disha.nsq" type="job" entityName="Email Publish Job - Test2" />
</schedules>
Note - The QVW and Nprinting client are in different machines(Servers) but that shouldn't be an issue because it runs fine in Client.
hi
does something happens when you copy the file?
does it triggers the server to run the job?
can you add a picture of your nprinting server configuration ?
Hi
there is a mistake in your batch script here an example that works: When the tasks is executed is the file renamed to <filename>.processed. I have also seen issues with DNS names try ip-addr.
move \\FILE02\QV_Docs\NPrinting\ExternalRequestsXML\BSPUExternal.processed \\FILE02\QV_Docs\NPrinting\ExternalRequestsXML\BSPUExternal.request
the supporting task in the QMC is:
\\FILE02\QV_Docs\NPrinting\ExternalRequestsXML\BSPUExternal.bat
request file:
<?xml version="1.0"?>
<schedules>
<schedule file="\\10.99.3.122\QV_Docs\NPrinting\BSPU.nsq" type="job" entityName="BSPU Poster" />
</schedules>
remember to add the NSQ file in the Nprinting server. and stop and start the server process when you make changes.
i have a scheduled windows task the stop/start to server process every night because the customer have access to changes the reports and tasks.
Hi Snehasis,
Is your batch file or your XML request not working (or both)?
If you still can't get it to work I suggest opening a case with Support via the Qlik Customer Portal: QlikView Customer Portal - Business Intelligence (BI) Reporting Software Solutions | Qlik
HTH - Daniel.
Hi Lars,
Just wanted to let you know that when using the more recent versions of QlikView NPrinting server, it is no longer necessary to include the NSQ. In fact you can leave the QlikView NPrinting Files box empty if you only intend to use External XML requests and On-demand. Also, there should be no need to stop and start the service or server process. In my testing NPrinting seamlessly picks up the changes once the NSQ is saved. If you experience different behavior in the latest version I suggest you use the Qlik Customer Portal to open a case with Technical Support.
Best regards,
Daniel.
Hi Daniel
Here are the answers -
Well does it have anything to do with the version of NPrinting? Coz i'm not fully upgraded, using Nprinting - 15.3.0.2 ?
Hi Snehasis,
Point 2 - try the job in a task in the Server anyway - remove the dependency and any other tasks if required. This is for testing only. If it does not get triggered then we know that it is a configuration issue.
Point 5 - Irrespective of whether the job is triggered or not, you should have "Message External request thread loaded" in the log file as long as you have Enable external requests enabled on the server. The fact that it does not appear reinforces the suspicion that your configuration needs looking into.
If you have no real reason to stay with an older version you should always upgrade to the latest. Every release contains improvements and bug fixes that are published in the release notes. As always, read the release notes, take backups and test before moving your projects to Production.
If you cannot get it to work even after going through the troubleshooting guide I suggest you open a case with Qlik Support through the customer portal. We will be happy to assist.
- Daniel.
Hello,
I have exactly the same issue.. I have made a ticket to customer portal.
Everything seems well configured, normal scheduled run fine but ExternalRequestXML immediately becomes renamed to .processed with no .result and no effect.
Thanks