<!-- Document Library Toolbar New Menu Dropdown -->
< CustomAction Id ="UserInterfaceLightUp.DocLibNewToolbar"
RegistrationType ="List"
RegistrationId ="101"
GroupId ="NewMenu"
Rights ="ManagePermissions"
Location ="Microsoft.SharePoint.StandardMenu"
Sequence ="1000"
Title ="MY DOCLIB NEW MENU TOOLBAR BUTTON" >
< UrlAction Url ="/_layouts/LightupHello.aspx?NewMenu" />
</ CustomAction >
</ Elements >
Location 和 GroupId确定了菜单的位置 。 以下 是支持的所有Location和GroupID :
The following table shows the locations, custom action group IDs and, custom action IDs that are used in the CustomAction and CustomActionGroup elements of custom actions that are installed by default in Windows SharePoint Services 3.0.
Each location value that is listed in the table corresponds to the Location attribute of CustomAction, each group ID corresponds to the GroupId attribute of CustomAction or to the Id attribute of CustomActionGroup, and each custom action ID corresponds to Id attribute of CustomAction.
You can create a Feature that implements the HideCustomAction element to hide any default custom action that is identified in the table.
Subhead
Location | Custom Action Group ID | Group Description | Default Custom Action IDs |
---|---|---|---|
DisplayFormToolbar | N/A | Location corresponds to the display form toolbar of lists. | ExportEventToolbarButton (calendars) ExportContactToolbarButton (contacts) |
EditControlBlock | N/A | Corresponds to the per-item edit control block (ECB) menu. | |
EditFormToolbar | N/A | Location corresponds to the edit form toolbar of lists. | |
Microsoft.SharePoint.Administration.ApplicationCreated | Links | Application Created page. | CreateSite HomePage |
Microsoft.SharePoint.Administration.ApplicationManagement | ApplicationSecurity | Application Security section on Central Administration Application Management page. |
ManageAuthenticationProviders |
Microsoft.SharePoint.Administration.ApplicationManagement | ExternalService |
|
DocConversion |
Microsoft.SharePoint.Administration.ApplicationManagement | SiteManagement |
|
ListSiteCollections |
Microsoft.SharePoint.Administration.ApplicationManagement | WebApplicationConfiguration |
|
ListWebApplications |
Microsoft.SharePoint.Administration.ApplicationManagement | WorkflowManagement | Workflow Management section on Central Administration Application Management page. | WorkflowManagement |
Microsoft.SharePoint.Administration.Operations | BackupRestore | Backup and Restore section on Central Administration Operations page. |
BackupStatus |
Microsoft.SharePoint.Administration.Operations | DataConfiguration | Data Configuration section on Central Administration Operations page. |
DataRetrieval |
Microsoft.SharePoint.Administration.Operations | GlobalConfiguration |
|
Solutions |
Microsoft.SharePoint.Administration.Operations | LoggingAndReporting | Logging and Reporting section on Central Administration Operations page. |
UsageAnalysis |
Microsoft.SharePoint.Administration.Operations | Security | Security Configuration section on Central Administration Operations page. |
AdministrationRoles |
Microsoft.SharePoint.Administration.Operations | Topology | Topology and Services section on Central Administration Operations page. |
EmailConfiguration |
Microsoft.SharePoint.Administration.Operations | Upgrade | Central Administration Operations page. |
FinalizeUpgrade |
Microsoft.SharePoint.ContentTypeSettings | Fields |
|
|
Microsoft.SharePoint.ContentTypeSettings | General |
|
|
Microsoft.SharePoint.ContentTypeTemplateSettings | Fields |
|
|
Microsoft.SharePoint.ContentTypeTemplateSettings | General | Settings section on List Content Type page. |
RemoveContentType |
Microsoft.SharePoint.Create | WebPages | Web Pages section on Create page. | |
Microsoft.SharePoint.GroupsPage | NewMenu | New menu on site collection People and Groups page. | |
Microsoft.SharePoint.GroupsPage | SettingsMenu | Settings menu on site collection People and Groups page. | |
Microsoft.SharePoint.ListEdit | Communications | Communications section on Customize page for list or document library. | |
Microsoft.SharePoint.ListEdit | GeneralSettings | General Settings section on Customize page for list. | |
Microsoft.SharePoint.ListEdit | Permissions | Permissions and Management section on Customize page for list or document library. | |
Microsoft.SharePoint.ListEdit.DocumentLibrary | GeneralSettings | General Settings section on Customize page for document library. | |
Microsoft.SharePoint.PeoplePage | ActionsMenu | Actions menu on site collection People and Groups page. | |
Microsoft.SharePoint.PeoplePage | NewMenu | New menu on site collection People and Groups page. | |
Microsoft.SharePoint.PeoplePage | SettingsMenu | Settings menu on site collection People and Groups page. | |
Microsoft.SharePoint.SiteSettings | Customization |
|
|
Microsoft.SharePoint.SiteSettings | Galleries |
|
|
Microsoft.SharePoint.SiteSettings | SiteAdministration |
|
|
Microsoft.SharePoint.SiteSettings | SiteCollectionAdmin |
|
|
Microsoft.SharePoint.SiteSettings | UsersAndPermissions |
|
|
Microsoft.SharePoint.StandardMenu | ActionsMenu | Actions menu in list and document library views. | |
Microsoft.SharePoint.StandardMenu | ActionsMenuForSurvey | Site Actions menu for surveys. | |
Microsoft.SharePoint.StandardMenu | NewMenu | New menu in list and document library views. | |
Microsoft.SharePoint.StandardMenu | SettingsMenu | Settings menu in list and document library views. | |
Microsoft.SharePoint.StandardMenu | SettingsMenuForSurvey | Site Settings links for surveys. | |
Microsoft.SharePoint.StandardMenu | SiteActions | Site Actions menu. | |
Microsoft.SharePoint.StandardMenu | UploadMenu | Upload menu in document library views. | |
Microsoft.SharePoint.User | ActionsMenu | Actions menu on Web site Permissions page. | |
Microsoft.SharePoint.User | NewMenu | New menu on Web site Permissions page. | |
Microsoft.SharePoint.User | SettingsMenu | Settings menu on Web site Permissions page. | |
Microsoft.SharePoint.Workflows | LeftNavBarLinks | Left navigational area on pages for managing workflow. | |
NewFormToolbar | N/A | Location corresponds to the new form toolbar of lists. | |
ViewToolbar | N/A | Location corresponds to the toolbar in list views. | |