Skip to main content

Cloud

Adding WebParts to Document Libraries and Lists without FrontPage

I ran across a neat SharePoint trick in Todd Bleeker’s 60 Hive blog. It’s a quick way to add webparts to Document Library and List views including AllItems without having to go into FrontPage. This is really useful when you want to add a instructions or descriptions on one of these standard pages.

Here’s what to do:

  1. Navigate to the Document Library or List View you want to add a part to.
  2. Now replace the URL in the Address Bar with one of the JavaScript snippets below and hit return.
  3. From here you can import a web part or drag a standard one in from the gallery then click OK
Add Webpart From JavaScript to Paste in the Address Bar
add webparts – gallery javascript:MSOTlPn_ShowToolPane(‘2’);
add webparts – search javascript:MSOTlPn_ShowToolPane(‘3’);
add webparts – import javascript:MSOTlPn_ShowToolPane(‘5’);

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Aaron Steele

More from this Author

Follow Us