Deploying a Custom Action to Other Locations

If you want to deploy custom actions beyond a single list instance, or to other locations in SharePoint sites, such as the Site Actions menu, then you need to create a Feature in Visual Studio 2010.

To create a custom action Feature that adds a new menu item to the Site Actions menu, perform the following steps:

Note

The following assumes that you have a copy of Visual Studio 2010 installed on your SharePoint development machine. In my case, I used Visual Studio 2010 Professional, which was installed on my SharePoint Server 2010 Enterprise edition development machine. The operating system was Windows 2008 R2 SP1. For further details on setting up a development environment for SharePoint 2010, see ...

Get Microsoft® SharePoint® Designer 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.