Remove Faulty Web Parts from Page

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.

remove-webpart1

 

SharePoint way

If you can follow this steps probably the error is not that bad 🙂

  1. Open the page where you have the webpart
  2. Click in the Page tab
  3. Click in the Edit Properties button in the toolbar
  4. 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.
    remove-webpart-2

 

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.

  1. Open the page where you have the webpart
  2. Append this in front of the URL ?contents=1
  3. Select the webpart that you want to remove and click in the Delete link

Note: This process works in all SharePoint versions from 2007 up to 2016

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.

  1. 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.

    remove-webpart-3

 

About the Author:

joao-ferreiraJoã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.

Share this on...

Rate this Post:

Share: