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: 
Sahal
Creator
Creator

Trigger Nprinting connection task from QlikView (not Qlik sense)

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?

Labels (2)
14 Replies
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

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. 

1.jpg

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

 

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.
Sahal
Creator
Creator
Author

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.

 

Ruggero_Piccoli
Support
Support

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.

Ruggero_Piccoli_0-1626876589129.png

Best Regards,

Ruggero

 



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.
Frank_S
Support
Support

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...

Please remember hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!