5 votes

Recycle Bin Manager

If you have a site that handles an extensive amount of content node data resulting in your recycle bin becoming large, then this simple package can assist in keeping the Recycle Bin at a manageable level.

Whilst the Recycle Bin does not impact on the performance of the site per se, I thought this a useful piece of functionality to help keep the database up to date as much as possible with respect to content.

The package uses a mix of the Umbraco scheduled task functionality and Rest Extensions (with some configuration options) so that you can "set and forget" it on your site and the amount of data in your Recycle Bin will be automatically managed for you.

To achieve the deletions I have used a mix of SQL (to get items in the recycle bin) and Umbraco API functionality (to delete items). There are posts about achieving this via SQL alone, however there is a real  risk to the integrity of the data within the database doing it this way.

The rest extension is configured to take the following 2 parameters.

  • Number of items to delete at a time
  • Number of days items are in the recycle bin before being deleted.

 

If you find this package useful please add your vote - it helps me to know it is being used and found useful, and therefore continued development is justified. Cheers

Release 1.1 - BUG Fix
The number of days delay was not being subtracted from the current date.

If you have previously installed this package, then to update your site simply download the package and drop the dll files into your site. There is no need to install the package.

Screenshots

Package owner

Nigel Wilson

Nigel Wilson

Nigel has 2077 karma points

Package Compatibility

This package is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
Version 8.18.x (untested)

You must login before you can report on package compatibility.

Previously reported to work on versions:

Package Information

  • Package owner: Nigel Wilson
  • Created: 06/03/2013
  • Current version 1.0
  • License MIT
  • Downloads on Our: 788