Forums

Skip Navigation LinksHome / Developer Network / Forums / Sitefinity Older Versions (3.x): Suggestions > Deleted Items/Recycle Bin/Rubish Bin

Deleted Items/Recycle Bin/Rubish Bin

  • Byzza Intermediate avatar

    Posted on Mar 22, 2010 (permalink)

    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

    Reply

  • Ivan Dimitrov Ivan Dimitrov admin's avatar

    Posted on Mar 22, 2010 (permalink)

    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.

    Reply

  • Ronald avatar

    Posted on Nov 30, 2010 (permalink)

    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.

    Reply

  • Ivan Dimitrov Ivan Dimitrov admin's avatar

    Posted on Nov 30, 2010 (permalink)

    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

    Reply

  • Register for webinar
Skip Navigation LinksHome / Developer Network / Forums / Sitefinity Older Versions (3.x): Suggestions > Deleted Items/Recycle Bin/Rubish Bin