+1-888-365-2779
Try Now
More in this section

Forums / Suggestions / Deleted Items/Recycle Bin/Rubish Bin

Deleted Items/Recycle Bin/Rubish Bin

4 posts, 0 answered
  1. Byzza
    Byzza avatar
    89 posts
    Registered:
    09 Jul 2007
    22 Mar 2010
    Link to this post
    I've just demo'd our new CMS system to the rest of my team and one question that came up was the ability to have a Recycle Bin function.

    At the moment I have the whole team being able to delete and roleback, and they should be trustworth enough to have this, but I would like to have a rubish bin I can check once a month or something just as a final check of deleted items. 

    (That is assuming that actually get removed from the DB all together and not just a flag setting them as deleted.
    If it is actually just a flag, could we get a page that just lists deleted pages and page revisions).

    Thank you
    Regards
    Byron
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    19 Sep 2016
    22 Mar 2010
    Link to this post
    Hi Byzza,

    There is no built-in Recycle bin. Once you click "Delete" the object is delete from the memory and database immedetally.
    You could create a custom table in the database and once a object is deleted, save all data to the database. This will
    allow you to restore all deleted objects if necessary.  

    You could track when an item is being deleted by using the CommandName of Executed event of ContentManager(content items) or CmsManage(pages). You should add
    your code in custom dll or inside Global.asax, Application_Start. This will ensure tha your code will be called every time.

    Yo may find the following samples useful
    Track who deleted a page

    http://www.sitefinity.com/support/forums/sitefinity-3-x/developing-with-sitefinity/create-title-programmatically-from-another-metafields.asp

    All the best,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. Ronald
    Ronald avatar
    4 posts
    Registered:
    26 Jan 2009
    30 Nov 2010
    Link to this post
    Now that Sitefinity is going up tremendously in price, I would request that such "Recycle Bin" functionality be added to one of the advanced versions. I have a large financial services client on Sitefinity that just deleted a page by accident two days before I told them they needed to cough up more money for the CMS.

    Ideally it would go to the Bin. Then there would be a configuration setting as to the aging of items in the bin before they were permanently deleted.
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    19 Sep 2016
    30 Nov 2010
    Link to this post
    Hi Ronald,

    You can refer to this discussion - Questions on Recycle Bin, E-Commerce, Custom Content Types via GUI, Managing code, Taxonomy import/export

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Register for webinar
4 posts, 0 answered