Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
At the moment I have two triggers, one for the connection: so that the metadata connection reload takes place early in the morning and another trigger on the publish task so that the report is published in the afternoon.
but what I'm looking for is if there are any possibilities to configure a trigger condition in Nprinting to ensure that the publish task is only executed when this metadata connection is successfully reloaded,
Thank you very much for your help
I think your best bet is creating a chain reload in QlikSense with the NPrinting API.
Explenation in: https://nprintingadventures.com/
Agree with @JHuis
APIs are the way to go. There is no built in feature in NPrinting that enables event based triggers.
I am including the necessary steps first create GET and POST connections. Note that these MUST work with "test succeeded" messages before attempting to use the APIs.
As well as two apps containing the necessary code.
The Apps contain instructions but I suggest you build out the API calls in your own app as the shared apps are just one way to do it. So you may use them as a guide.
You will find the full list of public APIs available here:
NPrinting API Library
When you have the apps working as expected, then you can utilize the QMC (Qlik Sense or Qlikview) to leverage event based activities.
Again, these above are recommendations only. Others here may have different approaches.
If you need extended support to develop your requirement further outside the Qlik Community, you may wish to contact one of our trusted Qlik Partners or request a Qlik Professional Services engagement through your Qlik Account Manager.
Kind regards...
HI @hudhud_hoda
Agree with @JHuis - using API is perfect for that. In the link https://nprintingadventures.com/2019/04/08/nprinting-api-qlik-rest-subroutines/ there are subroutines ready to use (feel free to modify what you need to your liking) which will do the job for you. If you read and follow all links step by step you should be able easily to set this all up without issues.
cheers
Hi @JHuis., just want to come back to our post - You have mentioned that you are using Qlik sense with NPrinting so the question I have is why do you need to reload metadata daily? That should not be required!
cheers
@Lech_Miszkiewicz, Correct i am using QS with NPrinting. Sure i dont need to reload the metadata daily and i dont do that.
sorry - that was question to @hudhud_hoda actually...