共用方式為


Get SharePoint Web Part Page Gallery

Occasionally during development you create a web part that causes a catastrophic error on your page and you need to remove this web part.  Given the custom and often generic error messages from SharePoint it is sometimes hard to decided what to do and in many cases you just want the web part removed from the page to move along in your process.  This little shortcut allows you to view the web part gallery for a particular page:

in your browser append the following to the end of the URL for your “site”, this could be a sub-site or the site collection URL:

_layouts/spcontnt.aspx?&url=

url => this is the relative Url to the page you are interested in.

For example to the default.aspx page of a site located at “https://samples/sites/badpagesite”  you would enter the following in your browser:

https://samples/sites/badpagesite/ _layouts/spcontnt.aspx?&url=/sites/badpagesite/default.aspx

This has come in handy for me and I hope it helps.