O'Reilly logo

Microsoft SharePoint 2010 Business Application Blueprints by Mike Oryszak

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Defining the RequestSiteAction menu item

The request form will need to be easily accessible to all of the site users. One good way to do that is to add it to one of the standard action menus such as the SiteActions or PersonalActions menu. It will direct the user to the request form wherever they are in the system allowing them to submit the request.

To define a custom action:

  1. Click on Add | New Item to the Visual Studio project.
  2. Under the SharePoint | 2010 category, select the Empty Element type and provide a name such as RequestSiteAction.
  3. Edit the Elements.xml file with the following content:
    <CustomAction Description="Submit a site collection request."GroupId="SiteActions" Id="RequestSiteAction" Location= "Microsoft.SharePoint.StandardMenu" RequireSiteAdministrator="false" ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required