Custom Actions in SharePoint can be added to virtually every part of the SharePoint interface. Finding a complete list of the locations to reference in the Custom Action ELEMENTS.XML file has been a bit cumbersome. The MSDN article (http://msdn.microsoft.com/en-us/library/bb802730.aspx) has some, however it appears the writer simply took the SharePoint 2007 list and added the references to the Ribbon locations. Many of the locations listed aren’t relevant in SharePoint 2010.
There are a number of lists of these locations available online, however none of them seem to be complete. This list is an attempt to create a comprehensive listing of all the Custom Action locations available in SharePoint 2010. If I find ones that I have missed (or if you note them in a comment to this post), I will be sure to add it to the list. In addition, as time permits, I will be adding additional details for each location with screenshots and sample code.
The list is broken down into the following sections:
- Central Administration
- Content Types
- Library and List Views
- List Settings
- Other
- People and Groups
- Ribbon
- Site Actions
Central Administration
– Microsoft.SharePoint.Administration.Applications
Group ID | Description |
WebApplications |
Web Applications section of Application Management page in Central Administration. |
SiteCollections |
Site Collections section of Application Management page in Central Administration. |
Databases |
Databases section of Application Management page in Central Administration. |
ServiceApplications |
Service Applications section of Application Management page in Central Administration. |
– Microsoft.SharePoint.Administration.SystemSettings
Group ID | Description |
Servers |
Servers section of System Settings page in Central Administration. |
E-Mail and Text Messages (SMS) section of System Settings page in Central Administration. |
|
FarmManagement |
Farm Management section of System Settings page in Central Administration. |
– Microsoft.SharePoint.Administration.Monitoring
Group ID | Description |
HealthStatus |
Health Analyzer section of Monitoring page in Central Administration. |
TimerJobs |
Timer Jobs section of Monitoring page in Central Administration. |
Reporting |
Reporting section of Monitoring page in Central Administration. |
– Microsoft.SharePoint.Administration.Backups
Group ID | Description |
FarmBackup |
Farm Backup and Restore section of Backup and Restore page in Central Administration. |
GranularBackup |
Granular Backup section of Backup and Restore page in Central Administration. |
– Microsoft.SharePoint.Administration.Security
Group ID | Description |
UsersAndPermissions |
Users section of Security page in Central Administration. |
GeneralSecurity |
General Security section of Security page in Central Administration. |
InformationPolicy |
Information Policy section of Security page in Central Administration. |
– Microsoft.SharePoint.Administration.UpgradeAndMigration
Group ID | Description |
Patch |
Upgrade and Patch Management section of Security page in Central Administration. |
– Microsoft.SharePoint.Administration.GeneralApplicationSettings
Group ID | Description |
ExternalServiceConnections |
External Service Connections section of General Application Settings page in Central Administration. |
IFS |
InfoPath Forms Services section of General Application Settings page in Central Administration. |
SiteDirectory |
Site Directory section of General Application Settings page in Central Administration. |
SPD |
SharePoint Designer section of General Application Settings page in Central Administration. |
FarmSearchSettings |
Search section of General Application Settings page in Central Administration. |
ReportServerAdminLinks |
Reporting Services section of General Application Settings page in Central Administration. |
PowerPivotAdminLinks | PowerPivot section of General Application Settings page in Central Administration. |
ContentDeployment |
Content Deployment section of General Application Settings page in Central Administration. |
– Microsoft.SharePoint.Administration.ConfigurationWizards
Group ID | Description |
FarmConfiguration |
Farm Configuration section of Configuration Wizards page in Central Administration. |
Content Types
– Microsoft.SharePoint.ContentTypeSettings
Group ID | Description |
Fields | Columns section on the List Content Type page. |
General | Settings section on the List Content Type page. |
– Microsoft.SharePoint.ContentTypeTemplateSettings
Group ID | Description |
Fields | Columns section on the Site Collection Content Type page. |
General | Settings section on the Site Collection Content Type page. |
Library and List Views
– Microsoft.SharePoint.StandardMenu
Group ID | Description |
ActionsMenu | Actions menu displayed on views of Lists or Libraries. Does not display for Lists and Libraries that use the ribbon. |
ActionsMenuForSurvey | Actions menu displayed on views of Survey Lists only. |
NewMenu | New menu displayed on views of Lists or Libraries. Does not display for Lists and Libraries that use the ribbon. |
SettingsMenu | Settings menu displayed on views of Lists or Libraries. Does not display for Lists and Libraries that use the ribbon. |
SettingsMenuForSurvey | Settings menu displayed on views of Survey Lists only. |
SiteActions | Site Actions menu display by default at the top left corner of all SharePoint pages. |
UploadMenu | Upload menu displayed on views of Libraries. Does not display for Lists and Libraries that use the ribbon. |
ViewSelectorMenu | View Selector menu displayed on views of Lists or Libraries. Does not display for Lists and Libraries that use the ribbon. |
List Settings
– Microsoft.SharePoint.ListEdit
Group ID | Description |
Communications | Communications section of the List Settings page for Lists and Libraries. |
GeneralSettings | General Settings section of the List Settings page for Lists and Libraries. |
Permissions | Permissions section of the List Settings page for Lists and Libraries. |
– Microsoft.SharePoint.ListEdit.DocumentLibrary
Group ID | Description |
GeneralSettings | General Settings section of the List Settings page for Document Libraries only. |
Other
– EditControlBlock
Group ID | Description |
The drop-down menu displayed when hovering over list items. |
– EditFormToolbar
Group ID | Description |
The toolbar displayed on new/edit forms where the ribbon is not displayed. This was primarily used in SharePoint 2007 and not as commonly used in SharePoint 2010. |
– Microsoft.SharePoint.Create
Group ID | Description |
WebPages |
– Microsoft.SharePoint.TenantAdministration
Group ID | Description |
TenantAdmin_Sites | |
TenantAdmin_Settings |
People and Groups
– Microsoft.SharePoint.PeoplePage
Group ID | Description |
ActionsMenu | Actions menu displayed while viewing membership of a group under People and Groups. |
NewMenu | New menu displayed while viewing membership of a group under People and Groups. |
SettingsMenu | Settings menu displayed while viewing membership of a group under People and Groups. |
Ribbon
These ribbon Custom Action locations determine which ribbons that the Custom Action is associated with. They do not, however, determine which tab and which section of the tab that the Custom Action will be displayed. Stay tuned for a complete list of locations within the ribbon that determine where the Custom Action is displayed.
Location | Description |
CommandUI.Ribbon.ListView | Display on List View ribbons that contain the tab referenced in the CommandUIDefinition location. |
CommandUI.Ribbon.NewForm | Display on New Form ribbons that contain the tab referenced in the CommandUIDefinition location. |
CommandUI.Ribbon.EditForm | Display on Edit Form ribbons that contain the tab referenced in the CommandUIDefinition location. |
CommandUI.Ribbon.DisplayForm | Display on View Properties ribbons that contain the tab referenced in the CommandUIDefinition location. |
CommandUI.Ribbon | Display on all ribbons that contain the tab referenced in the CommandUIDefinition location. |
Site Actions
– Microsoft.SharePoint.SiteSettings
Group ID | Description |
UsersAndPermissions | Users and Permissions section of the Site Settings page. |
Customization | Look and Feeld section of the Site Settings page. |
EDiscoveryLinksGroup | Hold and eDiscover section of the Site Settings page. |
Galleries | Galleries section of the Site Settings page. |
ReportServerSettingsLinks | Reporting Services section of the Site Settings page. |
SiteTasks | Site Actions section of the Site Settings page. |
SiteAdministration | Site Administration section of the Site Settings page. |
SiteCollectionAdmin | Site Collection Administration section of the Site Settings page. |
Update 2011-06-15: Added PowerPivot under Central Administration.
Hai john.. how to show the application page modal popup window through list settings ..
i have done this by sharepoint ribbon. pls give some suggestion.. in custom settings i couldn’t put the location of listsetting ..
I’m not aware of anyway to do this off the top of my head. It might be possible, I just haven’t ever done it. You might ask the question over on SharePoint StackExchange: http://sharepoint.stackexchange.com
Hi John,
What about GroupId “PersonalActions” in Location “Microsoft.SharePoint.StandardMenu”.
That one is not listed on the MSDN page, but it seems to work in SP2010.
With that you can add custom actions in the welcome/my settings menu (the dropdown menu on the top right that has your name).
Do you know if it’s possible to put a custom action between existing default actions?
I tried to change the sequence number to a low number (even to 0) but it always appears after the default menu items from SharePoint. I need to put mine as the first one.
Regards,
Kurt