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: 
Diane
Partner - Contributor III
Partner - Contributor III

NPrinting - NewsStand API

Hello,
We want to use NewsStand but the management of the volume and the deletion of reports (users leaving, reports too old, ...) is not natively taken into account in NewsStand.
We would like to use APIs to clean up the reports in NewsStand.
Is there an API to perform the desired actions?
- Deleting reports for a user or in relation to a given date
- List the reports for each user.

If this is not possible do we have another solution?
Can we query directly on the postGre database?

Thanks in advance

Labels (3)
7 Replies
Frank_S
Support
Support

Hi @Diane

Some older versions of NPrinting failed to deleted hard copies of reports on the NewsStand.

If you upgraded from older, unsupported versions then you may find some old reports on the hard drive. 

 

Otherwise (and I have tested it quite thoroughly) NewsStand reports do get deleted from the hard drive. Keep in mind that if Days to Keep and Reports to Keep is 1 day each, it will take above 48 hours in total for the reports to be deleted. On Day 1 they are on the server. On Day 2 you are in the 24 hour period before deletion. On Day 3 the reports are deleted.

 

Lastly, it is possible to manage newsstand reports as per this help page as well.

cc @Ruggero_Piccoli can you add to this if I missed anything?

 

Kind regards...

Please remember hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Diane
Partner - Contributor III
Partner - Contributor III
Author

Hello,
I have done some tests on my side with the last version of NPrinting and if the task have the option : Days to Keep and Reports to Keep is 1 day each, we always have at least a version of the report that remains.
Also it does not solve my problem to delete the following reports:
- if the name of the report has changed, the principle of version does not work, each name = a version
- delete all reports of a given user, the task is for all users of the task and does not allow to delete all reports.
- if a user is not on a task anymore, you can't delete his reports.

The solution of deleting the link https://help.qlik.com/en-US/nprinting/May2021/Content/NPrinting/DistributionSchedulesAutomation/News..., allows users to delete their reports. But as administrators, we can't delete other users' reports, everyone has to delete his reports. So if a user leaves the company we have no solution to delete his reports.

Do you have other solutions?

thanks in advance

Ruggero_Piccoli
Support
Support

Hi,

The one you linked is the only supported feature Qlik NPrinting has at the moment (latest version is May 2021 SR4) to delete reports published on the NewsStand. I'm sorry for this but Qlik NPrinting has not a feature that lets the administrators to mass delete published reports. 

Manually deleting files on the Qlik NPrinting server doesn't work because there are also the related Repository records.

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

Hello,
Ok, in this case is it possible to disable the sending on NewsStand for all users.
By default NewsStant is selected, to avoid sending on NewsStand that we can not delete, can we disable this option for all users?
Thanks in advance for your help.

Ruggero_Piccoli
Support
Support

Hi,

When you create a publish task you have to remove the NewsStand flag for all recipients (users or groups) manually.

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

ok and it is not possible to not propose it at all or to have it automatically disabled when creating a task the NewsStand part is disabled?

we have to disable it manually?

Thanks in advance, 

Diane

Ruggero_Piccoli
Support
Support

Hi,

At the moment (May 2021 SR4) you have to manually disable the publish to NewsStand option. There is not an option on the Web console or in the configuration files, to disable it by default.

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.