Deleting SharePoint Web Parts Running in the background

Home > Blogs > SharePoint > Deleting SharePoint Web Parts Running in the background

Deleting SharePoint Web Parts Running in the background

Like This Blog 0 Spike Xavier
Added by October 15, 2012

Occasionally, we run into scenarios where Web Parts have been closed but are still running in the background. SharePoint 2010 has a built in way to get to these Web Parts and allows us to delete them so they’re no longer running in the background. Depending on the Web Part, this can actually have a great effect on performance of the page.

The scenario is this. There is a home page of a Team Site with way too many Web Parts on it. One of those is a task list Web Part. In order to clean up the page, someone (me in this case) closes the Web Part mistaking this for deleting the web part. I will use the built in Web Part Management Page in order to delete the Web Part from the page and potentially restore performance. I’ll do this by appending the url with ?contents=1

See below.

Closing the Tasks List Web Part

SharePoint 2010 Closing_the_Tasks_List_Web_Part1

I meant to delete the Web Part but in this case, I clicked close. When I do this, the Web Part is closes. However, it is still running in the background and using resources. When I'm done, I notice that the Web Part is closed and I save the page.

Observe the page with the tasks web part closed.

SharePoint 2010 bserve_the_page_with_the_tasks_web_part_closed

Indeed, the tasks list Web Part is not VISIBLE but it's still running because I clicked close and rather than delete. I need to go the built in Web Part Management page to properly delete it.

Append the URL and go to the Web Part Management Page

SharePoint 2010 Append_the_URL_and_go_to_the_Web_Part_Management_Page

 

I append the url to the home page; in this case: http://sharepoint.local/sites/webpartsblog/SitePages/Home.aspx with the following ?contents=1 This will take me to the Web Part Management Page where I can close the Tasks List Web Part properly.

Select the Tasks List Web Part and Click Delete

SharePoint 2010 Select the Tasks List Web Part and Click Delete

This is the Web Part Maintenance Page for the Home Page of this Team Site. Here I select the Tasks List and click Delete. Notice the warning that I am modifying this Web Part Page for all users? In this case, that's exactly what I want to do.

Read the Warning and click OK

SharePoint 2010 Read the Warning and click OK

I read the warning describing what I am about to do and in this case I click OK.

Go Back to Web Part Page

SharePoint 2010 Go Back to Web Part Page

I click Go Back to Web Part Page and verify that the page is still working.

Finished

Finshed Deleting SharePoint Web Parts Running in the background

That's it. So many students ask me about this built in ability to delete closed Web Parts.

It took me a while but now I always remember ?contents=1

Enjoy,

Spike Xavier
SharePoint Instructor – Interface Technical Training
Phoenix, AZ

Videos You May Like

Agile Methodology in Project Management

0 153 0

In this video, you will gain an understanding of Agile and Scrum Master Certification terminologies and concepts to help you make better decisions in your Project Management capabilities. Whether you’re a developer looking to obtain an Agile or Scrum Master Certification, or you’re a Project Manager/Product Owner who is attempting to get your product or … Continue reading Agile Methodology in Project Management

Using Navigation Controls in a Collaboration Site in SharePoint

0 337 1

In this SharePoint training video, I want to talk about the Navigation Controls in SharePoint. They tend to fall into two kind of different categories; one with the navigation controls in a typical Collaboration Site such as a Team Site or a Project Site. These are Sites that are based on the Team Site Template … Continue reading Using Navigation Controls in a Collaboration Site in SharePoint

Detailed Forensic Investigation of Malware Infections – April 21, 2015

4 608 5

How does an investigator hunt down and identify unknown malware? In this recording of our IT Security training webinar on April 21, 2015, Security expert Mike Danseglio (CISSP / CEH) performed several malware investigations on infected computers and identify symptoms, find root cause, and follow the leads to determine what’s happening. He demonstrated his preferred … Continue reading Detailed Forensic Investigation of Malware Infections – April 21, 2015

Write a Comment

Share your thoughts...

Please fill out the comment form below to post a reply.