in

SharePoint Blogs

The Best Place for SharePoint-related Blogs

Coskun Cavusoglu SharePoint

SharePoint Blog

How delete webparts from a page using the browser (spcontnt.aspx)

I'm not sure if you've run into this when you're developing custom webparts or adding 3rd party webparts to a page but this happens to me quite often, I get an error stating that the page cannot be displayed and I right of way I know it's a web part I added to the page that's causing the issue but I can't get to the page to delete the web part. I don't want to open SharePoint designer either, so how do you delete the web part with the browser if you can't accesss the page?

Use the following URL on any SharePoint site to see the webparts you have installed on your SharePoint page

/_layouts/spcontnt.aspx?&url=[your_page_url_goes_here] 

So if  the page you're having issues with looks like the following

http://www.yourserver.com/site1/default.aspx

To see the web parts on that page you would use the following link

http://www.yourserver.com/_layouts/spcontnt.aspx?&url=/site/default.aspx

When you get to that page you'll see that you can Close, Reset or Delete web parts on the page that you specified.

 

Hope this helps!

 

Comments

 

B@rney said:

Or just append "?contents=1" to any URL in SharePoint, this has the exact same effect. Actually you're redirected to the above mentioned page ;-)

November 15, 2007 7:04 AM
 

SharePoint 2007 Link love: 11-19-2007, part three at Virtual Generations said:

Pingback from  SharePoint 2007 Link love: 11-19-2007, part three at  Virtual Generations

November 19, 2007 8:27 AM

Leave a Comment

(required )  
(optional )
(required )  
Add

Need SharePoint Training? Attend a SharePoint Bootcamp!

Posts (c) their respective authors. Everything else (c) 2007 SharePoint Experts