Andrew Connell [MVP MOSS]
1350 Posts |  39 Articles |  3385 Comments
.NET  |  MCMS  |  SharePoint  |  Office System
PDCBling
SharePoint Quick Links
Article Categories
Archives
Post Categories

View Andrew Connell's profile on LinkedIn

Add to Technorati Favorites

A while back in the WSS v2 days, Todd Bleeker blogged how you can use some of the OOTB JavaScrcipt functions to switch a page into edit mode or show the Web Part toolpane. When would you need this? Well, were you aware that the new/edit/display forms are just Web Part Pages? You can usually add Web Parts to those pages as they typically already contain Web Part zones!

I've become so reliant on that post that I have to keep going back to it... even have it copied into a OneNote file. Anyway, last week at a client site someone asked a question where this was needed so I finally got fed up with the "hunt-&-peck" and made it much easier to use.

I give you the SPClientUtilities Feature. This feature only does two things:

  1. Add a new menu item to the Site Actions menu that lets you toggle into edit mode on any page (except application pages... those within /_layouts... those pages can't be customized so the menu items if clicked on that page will throw a JS error).
  2. Add a new menu item to the Site Actions menu that lets you turn on the Web Part toolpane on any page (same limitation as above with application pages).

Only users with rights to customize the page will see the menu items. Here's what it looks like once activated:

SiteActions

Ever need to add a Web Part to the new form on a Tasks list? Now you can (very easily):

Tasks

I've packages this puppy up in two formats. The first is a nice little WSS solution package... just add this guy to the solution store and deploy OR manually copy the Feature into the 12 hive.

» SPClientUtilities.wsp (WSS solution package installer)
» SPClientUtilities Feature

Again, full credit for figuring this solution out goes to Todd Bleeker's post. All I did was Feature-ize it!

» Two Invaluable Windows SharePoint Services (WSS) Shortcuts

Technorati tags:
posted on Wednesday, May 02, 2007 10:26 AM

Feedback

 re: SPClientUtilities - toggle edit mode or show tool pane anywhere 5/3/2007 5:27 AM k0d
Its there any installation instructions!?

# re: SPClientUtilities - toggle edit mode or show tool pane anywhere 5/3/2007 8:25 AM AC [MVP MOSS]
Gravatar K0d-
As I said, add it to the solution store (STSADM.EXE -o addsolution ...) and then deploy it. Once that's done, you'll activate it as a site collection feature.

Post Feedback

Title:
Name:
Email:
(email will not be displayed)
Url:
Comments: 
Please add 6 and 6 and type the answer here:    
All Comments Are Filtered & Moderated
Unfortunately comment spammers are just too effecient and are constantly dirtying up blogs with irrelivant and unwanted comments trying to improve their standing on search engines. All comments on this blog are moderated. I do not censor comments, but I don't approve comments with vulger language or those soliciting products. Most of the time comments are approved within a few hours of being submitted with the only exception when I'm traveling.

Why are you asking for my email address?
The only reason I'm asking for your email address, which isn't required to submit a comment, is to provide a gravatar if you've created an account for yourself and associated your email address with a small image. If you have a gravatar created for the email address you submit, it will appear next to your comment. Otherwise nothing will appear.

What is a gravatar?
A gravatar is a "globally recognized avatar." You can get more information about gravatars, as well as create your own for free, at www.gravatar.com. You can also view my gravatar here.


Copyright © 2003 - 2008 Andrew Connell
Creative Commons License 
This work is licensed under a Creative Commons License
Site design by Heather Solomon.

 
 
MOSS WCM Training
Looking for MOSS 2007 WCM developer training? Look no further! I teach my 4-day hands-on and 5-day online WCM classes for developers I offer through the Ted Pattison Group.

Get more information on the WCM courses!


Upcoming Classes
 Hands-on WCM:
 » Atlanta, GA
   Sept 22-25, 2008
 Online WCM:
 » July 21-25, 2008
 » December 8-12, 2008


» Register today!

JAX Office Geeks
Jacksonville Office Geeks (JOG)
JOG is a special interest group in Jacksonville, FL dedicated to bringing the local SharePoint commnity together to share tips, tricks, ideas and best practices for developing solutions on the SharePoint platform.

Next meeting details...
When:
Thur. Sept 18th, 2008
  6-8p EDT
Topic:
Enterprise Content Management - Document Retention

Speaker:
John Holliday, MVP MOSS

RSVP Today!


» Subscribe to the JOG newsletter