Sharepoint中的自定义菜单
来源:互联网 发布:淘宝爆款 编辑:程序博客网 时间:2024/05/17 21:42
Moss
其中之一是使用Feature开发
使用Feature定义站点中的菜单项
http://hi.baidu.com/ourbi/blog/item/81c3b809c805c2276a60fb22.html
利用CustomAction,可以给站点某些 位置 添加菜单或链接 :
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<!-- 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>
How to: Add Actions to the User Interface
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. |
|
另外一种是使用Javascript
用javascript自定义SharePoint文档库/列表项菜单
http://www.cnblogs.com/ycc/archive/2007/10/30/942223.html
Customizing SharePoint Context Menus
http://blogs.msdn.com/bowerm/articles/175691.aspx
- Sharepoint中的自定义菜单
- SharePoint 2013 自定义扩展菜单
- SharePoint 2013 自定义扩展菜单
- 完全自定义sharepoint列表的下拉菜单
- 引用:用javsscript 实现sharepoint自定义菜单
- 为SharePoint网站创建自定义导航菜单
- 为SharePoint网站创建自定义导航菜单
- 为SharePoint网站创建自定义导航菜单
- SharePoint 2013 自定义扩展菜单(二)
- 为SharePoint网站创建自定义导航菜单
- SharePoint 2013 Designer 自定义操作菜单
- SharePoint 2013 Designer 自定义操作菜单
- SharePoint 2013 ECB 自定义扩展菜单
- Sharepoint中为列表添加自定义的菜单项
- SharePoint开发 - 自定义导航菜单(三)附其他代码
- 自定义 SharePoint Team Services 中的 CAML 视图
- Adding Custom Actions to the List Item Menu in SharePoint 2010 Using SharePoint Designer 2010[Sharepoint中添加自定义菜单]
- SharePoint 2010 移除Ribbon菜单中的命令项
- C++ 文章链接
- java.io.NotSerializableException错误解决方法
- Sql server中使用循环
- 用Python与socket实现的网络服务器
- 每天你应该养成的习惯
- Sharepoint中的自定义菜单
- 兰亭集序
- 呵呵,CSDN安家了哦
- Ubuntu的启动与优化
- From hell to Paradise,but then back to hell,but last to paradise
- www.JavaView.cn -- 我的博 -- My Blog
- API函数之一 SetWindowPos
- Spring是什么?
- Delphi 2009,C++ Builder 2009发布