Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

The SoftDelete module manages two version spaces of Normal and Deleted.  It intercepts deletion operations and converts them into moving the deleted item into the Deleted space.  This provides archiving and potential retrieval of deleted items, and it is a required module for any other versioning system which can transfer content changes between versions, as otherwise there is no way to transfer a deletion change as no data will exist.  When switching version to Deleted, you can see the archived deleted records and you are shown a 'Reinstate' button on the CMS bar which will allow you to 'undelete' the item.

Setting up the SoftDelete module

The SoftDelete module requires the IsDeleted flag to be added to the ContentItems table.  This can be done with the script at /Areas/Lynicon.Base/Admin/SQL/SoftDeleteInit.sql.

Ensuring a content type is soft deleted

A content type is soft deleted if and only if its container type implements ISoftDeleteable

  • No labels