Tuesday, June 15, 2010

Adding Custom Action to SharePoint 2010 Central Administration

The information on MSDN is not correct. The following blog

Custom Action Definitions in SharePoint 2010

By Arjen Bloemsma

lists some custom actions, and their locations and group ids. 

For example, the following custom action is placed on Central Administration ->System Settings ->Farm Management


        Id="C98CC48A-6F60-48CF-BC4E-94C998A921EC"
        GroupId="FarmManagement"
        Location="Microsoft.SharePoint.Administration.SystemSettings"
        Sequence="100"
        Title="the title here"
        Description="the description.">
   
 

Note the aspx page is in the _admin directory, instead of the _layouts, since it is a page used in Central Administration.

One take-away is if you have solutions which add custom actions to SharePoint 2007 Central Administration, then you need to make sure the custom actions show up at the right location, if showing up, under SharePoint 2010 Central Administration. As you probably know, MSFT has done a lot of re-organization in SharePoint 2010 Central Administration, not to mention the introduction of Ribbon.