Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content
Announcements
Gartner® Magic Quadrant™: 15 YEARS A LEADER - GET THE REPORT

How to create NPrinting GET and POST REST connections

100% helpful (1/1)
cancel
Showing results for 
Search instead for 
Did you mean: 
Frank_S
Support
Support

How to create NPrinting GET and POST REST connections

Last Update:

Jan 26, 2023 12:03:48 PM

Updated By:

Frank_S

Created date:

Aug 30, 2021 3:51:21 PM

NPrinting has a library of APIs that can be used to customize many native NPrinting functions outside the NPrinting Web Console.

 

Environment:

Qlik NPrinting 

 

An example of two of the more common capabilities available via NPrinting APIs are as follows

  • Connection reloads
  • Publish Task executions

These and many other public NPrinting APIs can be found here: Qlik NPrinting API

In the Qlik Sense data load editor of your Qlik Sense app, two REST connections are required (These two REST Connectors must also be configured in the QlikView Desktop application>load where the API's are used. See Nprinting Rest API Connection through QlikView desktop)

  • GET
  • POST

 

Requirements of REST user account:

  • Windows Authentication is required in both these connectors. The required user account is the NPrinting service account (which is also ROOTADMIN on the Qlik Sense server)
  • This user account must also be a member of the NPrinting 'Administrators' Security Role on the NPrinting Server.

NP admin user administrator role.PNG

 

Creating REST "GET" connections

Note: Replace QlikServer3.domain.local with the name and port of your NPrinting Server

NP rest connector settings 1.PNGNP rest connector settings 2.PNG

NOTE: replace domain\administrator with the domain and user name of your NPrinting service user account

NP rest connector settings 3.PNGNP rest connector settings 4.PNGNP rest connector settings 5.PNG

 

Creating REST "POST" connections

Note: Replace QlikServer3.domain.local with the name and port of your NPrinting Server

NP rest connector settings POST 1.PNGNP rest connector settings POST 2.PNG

NOTE: replace domain\administrator with the domain and user name of your NPrinting service user account

NP rest connector settings POST 3.PNG

NP rest connector settings POST 4.PNG

Ensure to enter the 'Name' Origin and 'Value' of the Qlik Sense (or QlikView) server address in your POST REST connection only.

Replace https://qlikserver1.domain.local with your Qlik sense (or QlikView) server address.

NP rest connector settings POST 5.PNG

NP rest connector settings POST 6.PNG

Ensure that the 'Origin' Qlik Sense or QlikView server is added as a 'Trusted Origin' on the NPrinting Server computer

trusted origin.PNG

 

Related Content

 

NOTE: The information in this article is provided as-is and to be used at own discretion. NPrinting API usage requires developer expertise and usage therein is significant customization outside the turnkey NPrinting Web Console functionality. Depending on tool(s) used, customization(s), and/or other factors ongoing, support on the solution below may not be provided by Qlik Support.

 

Comments
SwapneelGolapkar
Contributor III
Contributor III

Hi @Frank_S -

Appreciate the details in the page.

Even after following all the steps for creating a REST connection for Nprinting.

We are getting an error (401 unauthorized)

we tried multiple accounts, which are admin, on QlikSense as well as Nprinting, still the same issue.

 

Could you please share some insight / advise.

 

Thanks,

Swapneel

SwapneelGolapkar_0-1744204126057.png

 

Frank_S
Support
Support

Please post here for issues you are encountering regarding your NPrinting configuration.

Qlik NPrinting | Qlik Community

 

 

Version history
Last update:
‎2023-01-26 12:03 PM
Updated by: