Qlik NPrinting

Discussion Board for collaboration on Qlik NPrinting.

Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE

Who Me Too'd this solution

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

What user should you use? User with Administrator role in NPrinting console and Domain account properly populated:

2.jpg

Your statement here is not entirely right:

If we look at the URL https//yourNprintingServer:4993/api/v1/login/ntlm it  fails if we copy/paste it to a web-browser (should we be able to access anything from a web-browser?)

question to the above: where in the that question you define method of your connection (GET or POST)?...exactly - nowhere, which is why you get a default response (GET) by running it from web browser. The main reason is that GET method by default does not require BODY of the message you are sending via URL. 

So when you copy/paste the URL https//yourNprintingServer:4993/api/v1/login/ntlm to the browser by default you get a GET command response which is working for you already judging by fact that you followed instructions and you got stuck on POST connection setup - that is in later stages of instruction steps.

 

 

Below is the walkthrough I just stiched up quickly for presentation.

In a GET connection I did not used query headers at all and my connection works OK

2021-07-22_09-29-22 (1).gif

In POST method I used headers Origin - value: https://myqlikview servername. The same value for origin needs to be populated in NPrinting-->ADMIN-->Settings-->OnDemand-->Trusted origin list.

Bit I am unclear is when you say: "The Query Headers are the same name and value (http://...) of the Nprinting origin."

So just want to confirm that this is the same value in both places: address of the qlikview server.

2021-07-22_09-38-51 (1).gif

1.jpg

cheers

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.

View solution in original post

Who Me Too'd this solution