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: 
ramsurya
Contributor III
Contributor III

How to Execute NPrinting Reports by External XML Request

Hi Team,

I did EXternal XML commands in NPrinting 16 , in between of migration. So can you please suggets what are steps for Nprintng Sep 2019 versio.

 

How to distribute NPrinting 19 version reports after successful reload of .qvw application form QLikview server with publisher.

Labels (2)
8 Replies
Ruggero_Piccoli
Support
Support

Hi,

You could give a check to this article https://community.qlik.com/t5/Qlik-Sense-Enterprise-Documents/Distribute-NPrinting-reports-after-rel... by @JonnyPoole 

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.
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

I can add to it that i have written subroutines to simplify this process and make it even more easy to manage.

here are the links:

https://nprintingadventures.com/

https://nprintingadventures.com/2019/04/08/nprinting-api-qlik-rest-subroutines/

 

hope it helps

Lech

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.
ramsurya
Contributor III
Contributor III
Author

I have done in NPrinting 16 version with qlikview. I want for Nprinting Sep 19 version steps.

Ruggero_Piccoli
Support
Support

Hi,

The link supplied by @Lech_Miszkiewicz  https://nprintingadventures.com/2019/04/08/nprinting-api-qlik-rest-subroutines/ refers to Qlik NPrinting 17+.

In Lech's article there is also the link to this article by Gianluca Perin https://community.qlik.com/t5/Qlik-NPrinting-Discussions/How-to-use-Qlik-NPrinting-APIs-inside-a-Qli... that also refers to Qlik NPrinting 17+

Qlik NPrinting 17+ APIs are documented in the official help site at the page https://help.qlik.com/en-US/nprinting/November2019/Content/NPrinting/Extending/Intro-Extending.htm

External XML doesn't exists in Qlik NPrinting 17+. It was developed in QlikView NPrinting 14, 15 etc before the On-Demand. On-Demand and APIs replace the external XML feature.

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.
ramsurya
Contributor III
Contributor III
Author

Thanks for above links. Following link :

But while getting appid and app name using POST method in QLikview getting below error:
https://community.qlik.com/t5/Qlik-NPrinting-Discussions/How-to-use-Qlik-NPrinting-APIs-inside-a-Qli...

and following steps in pdf : How to use NPrinting APIs inside a Sense load script .pdf
Could you please help me out for the below error:

QVX_UNEXPECTED_END_OF_DATA: HTTP protocol error 405 (Method Not Allowed):

{"message":"The requested resource does not support http method 'POST'."}

blaise
Partner - Specialist
Partner - Specialist

seems like you're using your POST lib connection when you should have used the GET lib connection.

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

well for different methods you need to use different connections. My NPrinting.qvs library takes care of it automaticly (uses different connections for different methods!), but if you wish to write your own code here is a reference to API https://help.qlik.com/en-US/nprinting/November2019/APIs/NP+API/index.html

as you can see there is no POST/APPS method - so for this you need to use GET method hence get connection 

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.
ramsurya
Contributor III
Contributor III
Author

Thanks.