If you are a SharePoint developer and the Web Part you are working on is causing so many errors that you can’t even edit the page this tip is for you for Faulty Web Parts.
Removing malfunction webparts is very easy all you have to do is access the Maintenance Web Part Page, in this article I’ll show you three different ways to open this page.
SharePoint way
If you can follow this steps probably the error is not that bad 🙂
- Open the page where you have the webpart
- Click in the Page tab
- Click in the Edit Properties button in the toolbar
- Click in the Open Web Part Page in maintenance view
Note: If you are using a Publishing site you might need to scroll to the bottom of the page.
5. Select the webpart that you want to remove and click in the Delete link
Shortcut way
If your page is not stored in a document library you will need to follow this steps.
- Open the page where you have the webpart
- Append this in front of the URL ?contents=1
- Select the webpart that you want to remove and click in the Delete link
Bonus tip
If the browser you are using supports script in the bookmarks, create one and paste script bellow in the URL field, then add it to the bookmark tool bar.
- Javascript:
(function(){location.replace(window.location.href+"?contents=1")})();
To open the Web Part Page Maintenance View you just need to click in the bookmark.
About the Author:
João Ferreira is a Web and SharePoint developer and I’m currently living in Vila do Conde, Portugal. João has a degree and a master in Computer Science and over the last three years has been a Web developer focused in branding to make life easier and prettier for SharePoint users. João works for BindTuning.