Qlik Community

Qlik NPrinting Discussions

Discussion Board for collaboration on Qlik NPrinting.

Not applicable

Qlik Sense On-Demand NPrinting Report

Hi All,

We're facing a problem with Qlik Sense On-Demand NPrinting Report. As we all know, with NPrinting, we can deliver reports at scheduled times, but we should be able to drive NPrinting through events, except for time. Below are our project's background and demands:

  • We have to generate Qlik Sense reports every day because our data is daily updated. (B)
  • We hope to automatically trigger the NPrinting distribution after the report is generated. (D)

The solution we can think of now is to automatically capture Qlik Sense reports generation status, send to NPrinting and start delivering. How can we achieve this? Thanks.

PS: We found a extension which can add a button in the Qlik Sense(Qlik Branch), when we click the button, it can generate a report on NPrinting Server and you can download it. Shall we trigger NPrinting automatically instead of click a button? Thanks.

Thanks & Regards,

Shyee

Tags (2)
1 Solution

Accepted Solutions
Not applicable

Re: Qlik Sense On-Demand NPrinting Report

See attached draft PPT which explains how to chain events between Sense and NPrinting.

This document shows the following series of events:

Reload data in Sense app>reload NPrinting metadata for that Sense app>run NPrinting Task to distribute reports which uses data from that Sense app.

There are sample code snippets.

HTH

Aran

6 Replies
Not applicable

Re: Qlik Sense On-Demand NPrinting Report

See attached draft PPT which explains how to chain events between Sense and NPrinting.

This document shows the following series of events:

Reload data in Sense app>reload NPrinting metadata for that Sense app>run NPrinting Task to distribute reports which uses data from that Sense app.

There are sample code snippets.

HTH

Aran

Not applicable

Re: Qlik Sense On-Demand NPrinting Report

Thanks a lot! I'm trying to follow the PPT and will update the result!

Not applicable

Re: Qlik Sense On-Demand NPrinting Report

Dear Aran,


I have tested this API in your PPT but get error, let me show you the details.

Qlik Sense QMC Link1: https://win12qs/qmc/

Qlik Sense QMC Link2: https://192.168.2.220/qmc

NPrinting Dashboard Link1: https://192.168.2.117:4993/#/dashboard

NPrinting Dashboard Link2: https://win_qliksense_test:4993/#/dashboard

PS: The above are the Intranet address.

When I was test the API in postman, I get 401 Unauauthorized error as below:

401 Unauthorized.png

It's still wrong after replacing the hostname with IP address:

IP 401 Unauthorized.png

When I try to reload metadata in NPrinting, it could not get any response:

Sense Response1.png

Sense Response2.png

At this point I think maybe I should replace the hostname/ip with NPrinting's, so I get below errors:

NP Response1.png

NP Response2.png

Also I have a question about the 'v1' in the picture above, is it a app name or a standard writing?

I'm sorry to ask so many questions because I'm really not familiar with QRS REST API, even I don't know why we can connect to NPrinting with Qlik Sense API, it's really kind of you if you answer my questions, thanks a lot!

Best Regards,

Shyee

sfrommer
New Contributor

Re: Qlik Sense On-Demand NPrinting Report

Is anyone else experiencing problems with https://server:4993/api/v1/connections

I can't get a json response from that url but i do get a response from, for example, https://server:4993/api/v1/reports


Wondering if that api call has been deprecated or there is another keyword or something missing?

Employee
Employee

Re: Qlik Sense On-Demand NPrinting Report

Steven,

As requested in the case you started with us in Qlik Support,

Please provide us with the screen shots and logging information using your browser's developer tools.

Include detailed steps to reproduce the issue along with the necessary logging information.

We can debug the api via R&D but R&D is requesting that you provide the information above.

Qlik Support

This community user does not receive direct private messages
sfrommer
New Contributor

Re: Qlik Sense On-Demand NPrinting Report

Thank you, screenshots and zip file have been included in the case.

Community Browser