Deleting SharePoint Web Parts Running in the background
Deleting SharePoint Web Parts Running in the background
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
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.
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
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
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
I read the warning describing what I am about to do and in this case I click OK.
Go Back to Web Part Page
I click Go Back to Web Part Page and verify that the page is still working.
Finished
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
You May Also Like
A Simple Introduction to Cisco CML2
0 3850 0Mark 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
Cable Testers and How to Use them in Network Environments
0 713 1This 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
How to Build in a PSMethod to your PowerShell Code
0 72 0In this video, PowerShell instructor Jason Yoder shows how to add Methods (PSMethod) to your code using free software that’s added into the PSObject. For instructor-led PowerShell courses, see our course schedule. Microsoft Windows PowerShell Training Download the Building Methods PowerShell script</a> used in this video. <# ╔══════════════════════════════════════════════════════════════════════════════╗ ║ ║ ║ Building Methods ║ ╟──────────────────────────────────────────────────────────────────────────────╢ … Continue reading How to Build in a PSMethod to your PowerShell Code