Tobias Nilsson
Aug 3, 2011
(1 votes)

A restore page plugin

Hi everyone!

I recently created a plugin that borrows it's functionality from the Windows wastebasket. In Windows you can restore a file you have deleted, i.e. moved to the wastebasket. I wanted to replicate this behavior for EPiServer CMS. And with further ado:

Retore Page Plugin

Like I said it will give you the possibility to restore the page back to its previous owner (parent). So let's say that you deleted a page and now you want it back in the site tree, but you can't remember under which root is was located.Page restore to the rescue!


Now you can right click the page and select "Restore", it wil then bring you to a confirmation page where you can see where in the site tree it will be relocated before actually doing anything. And that's about it!

This is in no way tested or tried thoroughly. I was hoping you guys could be my lab monkies and test it out ;).

But if you do find anything strange, report it to me and I'll see if I can be bothered to do anything about it.



The package has been updated as I forgot to include the part of the code that was responsible for setting up the menu button, but also the part which added and deleted restore points when you moved pages. Sorry for that ;)

Aug 03, 2011


Joshua Folkerts
Joshua Folkerts Aug 11, 2011 04:54 PM

Very nice. Works like a charm. Nice work Tobias

Please login to comment.
Latest blogs
Preview multiple Visitor Groups directly while browsing your Optimizely site

Visitor groups are great - it's an easy way to add personalization towards market segments to your site. But it does come with it's own set of...

Allan Thraen | Sep 26, 2022 | Syndicated blog

The Report Center is finally back in Optimizely CMS 12

With Episerver.CMS.UI 12.12.0 the Report Center is finally re-introduced in the core product.

Tomas Hensrud Gulla | Sep 26, 2022 | Syndicated blog

Dynamic Route in ASP.NET Core When MapDynamicControllerRoute Does Not Work

Background Creating one of the add-on for Optimizely I had to deal with challenge to register dynamically route for the API controller. Dynamic rou...

valdis | Sep 25, 2022 | Syndicated blog

404 Error on Static Assets Within an Optimizely plugin

Background With the move to CMS 12 and .NET 5/6, developers are now able to build Plugins and Extensions using Razor Class Libraries (RCL).  These...

Mark Stott | Sep 23, 2022