Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
1. How to trigger a Qlik NPrinting task automatically as soon as
the Qlik Sense application is loaded with the data.
2. Also there is a UserID in one of the fields of Qlik Sense.
How to Specifically send the data associated to that user id to the respective mails to the user with that User ID?
Currently we are having
NPrinting February 2018
and
Qlik Sense Server February 2018.
It would be helpful if i get the information at the earliest.
Thanks and Regards
Saiprasad Ashok More
FYI, We use many of the pieces from this post in May 2021 release. We have around 20 nprinting tasks chained together and they trigger in a sequence after one main task finishes reload. Occasionally I get connection error but I am living with it as of now because it takes more than 3 days to finish all of my 20 tasks.
Hi @rohitk1609 ,
Do you mean a native feature to trigger a publish task after the end of a reload task without using Qlik NPrinting public APIs? The answer is no. If you cannot schedule the publish task by estimating the time needed by the reload to be finished, you have to use APIs. After starting the reload you can use https://help.qlik.com/en-US/nprinting/May2021/APIs/NP+API/index.html?page=55 to periodically retrieve its status https://help.qlik.com/en-US/nprinting/May2021/APIs/NP+API/index.html?page=126 and start the next task with https://help.qlik.com/en-US/nprinting/May2021/APIs/NP+API/index.html?page=57.
Best Regards,
Ruggero
I want to trigger Nprinting task after execution of Qlik Sense app by POST method. Is it possible in latest release?
Hi Rohit
First, if using Qlik Sense Ideally you want to be on at least Qlik Sense Sept. 2020 Patch 2 or later versions to mitigate Qlik Sense rest connector issues.
Then you can follow Jonny Poole's article (keeping in mind to update the cookie code in the load script as mentioned in the article above and is also conveniently link in Jonny NPrinting document as well)
Note: (May 2021 SR 3 is the latest version of NPrinting and we suggest upgrading to that version as well since this version fixes a problem with the NP designer you may circumvent via this upgrade. https://community.qlik.com/t5/Knowledge/Qlik-NPrinting-can-t-find-supported-reporting-template-edito...)
Kind regards...
Hi Rohit,
It was possible since 2018 and the same method still works until today and as Ruggero pointed above it is described step by step in the link https://community.qlik.com/t5/Qlik-NPrinting-Discussions/How-to-use-Qlik-NPrinting-APIs-inside-a-Qli...
I posted about it on my blog here - I provided list of reusable subroutines:
https://nprintingadventures.com/2019/04/08/nprinting-api-qlik-rest-subroutines/
That method uses POST method through Qlik Sense load script wit REST connector.
As an alternative you can create your own piece of software or code and use "External Task" property to trigger it:
Or if you have had something else in mind please elaborate and provide more details.
cheers
Lech