Mar 21, 2011

Hide “Revert to Template” in Modified SharePoint 2010 Wiki Page

OK, I see a lot of solutions about this, but many of them wasn’t a good solution for me. These are the solution links:
Why the message "Revert to Template” always shown?
When you create Wiki Pages using Out of the box SharePoint, actually the page you’ve created was marked and created based on Site Definitions. So, you need to create the page which isn’t marked as “based from Site Definitions” page.
Actually, the solution from Dalibor MSFT was simple enough and not involving any hard customization. Here’s the solution:
Open your site in SharePoint Designer 2010.
Open Site Pages library.
Right click on empty space, point to New and then ASPX.
Open the modified page using right click, and then Edit File in Advanced Mode.
Copy all of the markups.
Paste it in the newly created ASPX file, save the file, and you’re done!