Try our conversational search powered by Generative AI!

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
New Series: Building a .NET Core headless site on Optimizely Graph and SaaS CMS

Welcome to this new multi-post series where you can follow along as I indulge in yet another crazy experiment: Can we make our beloved Alloy site r...

Allan Thraen | Jun 14, 2024 | Syndicated blog

Inspect In Index is finally back

EPiCode.InspectInIndex was released 9 years ago . The Search and Navigation addon is now finally upgraded to support Optimizely CMS 12....

Haakon Peder Haugsten | Jun 14, 2024

Change the IP HTTP Header used for geo-lookup in Application Insights


Johan Kronberg | Jun 10, 2024 | Syndicated blog

Copying property values

In this article I’d like to show simple Edit Mode extension for copying property values to other language versions. In one of my previous blogposts...

Grzegorz Wiecheć | Jun 8, 2024 | Syndicated blog

Auto-translate with OpenAI GPT-4o in Optimizely CMS

Improvements for Episerver.Labs.LanguageManager! It's now possible to auto-translate both a page and its children at the same time! Additionally, m...

Tomas Hensrud Gulla | Jun 7, 2024 | Syndicated blog

Upgrade To Optimizely CMS 12 Issue: List item fields have become Required

There are many funny details to be aware of when upgrading from Episerver CMS 11 to Optimizely CMS 12. One of them that might feel a bit confusing ...

Allan Thraen | Jun 7, 2024 | Syndicated blog