Discussion Board for collaboration on Qlik NPrinting.
Hi ALL,
We have Nprinting reports, Generate connection cache shows the status as completed, but it wont publish the report and again it will start generate connection cache automatically.
Qlik NPrinting September 2018 SR2 - Version: 18.29.9.0
Qlik Sense November 2018 patch 3 - qliksense server 12.44.5
Hi,
I have already given you link to my blog and repository
https://nprintingadventures.com
you need to configure it on your end
I have never heard of such behaviour so i suspect it is something you have in your setup.
we need a lot more information to help as your description is to generic to answer such unusual behaviour
Hi,
Connection cache can be triggered to be regenerated automatically, so check if you have defined a trigger.
Then please supply more details so we can better understand the problem .
Best Regards,
Ruggero
Hi Lech,
Thanks for the Quick response. Please find the below inline comments for more details.
No , there are no triggers setup in Nprinting
Yes , we are publishing reports through scripts ( REST API ) only.
Issue : We are triggering the reports through script. It is scheduled/run in QMC, on few occasions ( Generate connection cache - task in nprinting ) is getting triggered multiple times but publish report is triggered only once.I have attached screenshot here for reference.
Kindly share your feedback. Thanks again for prompt response.
Hi Ruggero,
Thanks for the Quick response.
No , there are no triggers setup in Nprinting. We are triggering/publishing reports through scripts, like RestFull API only.
Issue : We are triggering the reports through script. It is scheduled/run in QMC, on few occasions ( Generate connection cache - task in nprinting ) is getting triggered multiple times but publish report is triggered only once.I have attached screenshot here for reference.
Kindly share your feedback. Thanks again for prompt response.
Its your script issue then not nprinting issue.
share your script so we can see what you are doing wrong.
you can also try using my library. Check it out on https://nprintingadventures.com
Hi ,
Thanks for sharing the above link.
Please find the attached qvf file which we are using to trigger the reports. Please not that Issue is not occurring on daily basis, it is intermittent. In recent times, it is occurring very often. Could you validate the script and help us. Meanwhile, I will go through my library.
Regards,
Ravi
Hi,
there is nothing in your scriptwhat would indicate why reload metadata task is running so many times. You may want to look also at your script log.
As an alternative you may want to use my library.
The other comment is - why are you reloading metadata wit every task run? Do you use LOCAL QlikView connection as source of your report? If not I would simply remove it from the script.
cheers
Lech
Hi Lech,
Thanks
Could you please provide the updated script. So that will run and check if we are able to reproduce the issue at our end.
Thanks
Ravi.
Hi,
I have already given you link to my blog and repository
https://nprintingadventures.com
you need to configure it on your end