Versions/Versioning/History and/or Approval

Topics: Developer Forum
May 15, 2009 at 9:04 AM

Hello again :)

I am faced with the task of implementing some sort of versioning, or approval system in editing the content/section-control content - within pages.

There is a similar request in the post

Has anyone implemented any kind of versioning in any way?

May 17, 2009 at 2:53 AM
Edited May 17, 2009 at 2:56 AM

My guess is, it really just needs an addition to the Persistable<T> class - Before saving data, copy the existing data to a "backup file".  Have a page somewhere that allows traversal of backup files, and restoring old files back to "current" file.

Bit of a hack, and could lead to a fair amount of files knocking about in your App_Data folder, but if you're not looking for anything more complex than the above, it might be a quick way of getting it in...