Wednesday, August 22, 2012

Need to remove a problem web part?

If you've ever run into a situation in which a web part isn't working properly and is causing your web page to error out in such a way that it prevents you from being able to access/edit the page so that you can remove the offending web part (the InfoPath web part is notorious for this problem), here is a quick solution:
  1. Navigate to the web page on which the offending web part is installed
  2. Append the following text to the end of your URL in your browser's address window: "?contents=1"
  3. Hit Enter to refresh the browser
You will now be presented with the Web Part Page Maintenance view which will allow you to review a list of installed web parts and, potentially, close or remove the offending web part.  Here are the quick steps you can use to remove the web part:
  1. Review the list of web parts and place a check in the check box next to the offending web part
  2. Click the Delete link

Your web part will now be removed from the page so that you can attempt to perform a fresh install of the web part or, at the very least, allow your users to access the given page while you are given some time to figure out what went wrong with it.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.