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

A Simple Introduction to Cisco CML2

0 3877 0

Mark Jacob, Cisco Instructor, presents an introduction to Cisco Modeling Labs 2.0 or CML2.0, an upgrade to Cisco’s VIRL Personal Edition. Mark demonstrates Terminal Emulator access to console, as well as console access from within the CML2.0 product. Hello, I’m Mark Jacob, a Cisco Instructor and Network Instructor at Interface Technical Training. I’ve been using … Continue reading A Simple Introduction to Cisco CML2

Creating Dynamic DNS in Network Environments

0 641 1

This content is from our CompTIA Network + Video Certification Training Course. Start training today! In this video, CompTIA Network + instructor Rick Trader teaches how to create Dynamic DNS zones in Network Environments. Video Transcription: Now that we’ve installed DNS, we’ve created our DNS zones, the next step is now, how do we produce those … Continue reading Creating Dynamic DNS in Network Environments

Cable Testers and How to Use them in Network Environments

0 724 1

This content is from our CompTIA Network + Video Certification Training Course. Start training today! In this video, CompTIA Network + instructor Rick Trader demonstrates how to use cable testers in network environments. Let’s look at some tools that we can use to test our different cables in our environment. Cable Testers Properly Wired Connectivity … Continue reading Cable Testers and How to Use them in Network Environments

Write a Comment

Share your thoughts...

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