Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I posted a question maybe 2 years ago about triggering nprinting task from QlikView QMC directly after a task has finished but I got the answer "This is not implemented, look at the API" 🙄. Why this is not a PRIO task I will never understand....
But, for now we need to understand how the API works, how do we trigger a Nprinting task directly after a QlikView task has finished, can anyone guide us?
Is there a step-by-step guide of using QlikView (NOT Qlik Sense) for this?
Hi @Sahal
* What Windows NTLM user should we use? - Is it the service account for Nprinting services? e.g. DOMAIN\ServiceAccount
Answer: User which exists among NPrinting users, has Domain Account attribute populated, has priviledges to access sections of NPrinitng console which you are willng to access via API (I always use user with Administrator role).
* The URL https://yourNprintingServer:4993/api/v1/login/ntlm should we be able to access the URL from a browser?
Answer: yes, for testing you can do that from browser as well.
I normally dont do that as I use Qlik Rest Connector for that.
* The trusted origin does not have https only http, however should that matter? - Should the origon name be Server Name and value(URL) http://ServerName ?
Answer: it matters - it should be whatever you are using
Thank you!
I created an new Nprinting user that hade the same credentials as our service account (domain\user) and added the Security Role -> Administrator to it.
When it comes to the URL if we try to access it we do get a result "{"result":"fce1d72d-1750-4ea7-abe3-3d24a275425f","code":0,"message":null}" I guess that, it should be enough.
however for some reason we still get error "403" when testing the connection.
The port between QlikView server and Nprinting on 4993 is opened, so we are confused on what can be the issue.
Hi,
I have not understood when you get the 403 error. When running the NTML login? Could you post some screenshots? Correct login returns 200.
Best Regards,
Ruggero
All I can suggest/offer here (since the others answering here covered most of your questions) is this article which covers 403 and other related issues/solutions:
Here also is the full list of port exemptions. May be worth double checking this (see QlikView Connection rules😞
Kind regards...
The Issue got resolved ,by following the article Run a Qlik NPrinting API POST command via QlikView... - Qlik Community - 1822137
and @Lech_Miszkiewicz answer in Solved: Qlik REST connector between QlikView and Nprinting... - Qlik Community - 1823560