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

1 Solution

Accepted Solutions
Not applicable
Author

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

View solution in original post

6 Replies
Not applicable
Author

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
Author

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

Not applicable
Author

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

Anonymous
Not applicable
Author

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?

Frank_S
Support
Support

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

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

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