sharepoint 2010 RegistrationId 各个数值对应的对象类型

本文详细解释了SharePoint中用于自定义操作的RegistrationId属性所代表的不同类型值,包括通用列表、文档库、调查等,并提供了自定义图片库和日志的具体设置示例。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

来源:http://vickynuli.blog.163.com/blog/static/18043849220127222311233/

 

<CustomAction   
     Id="CustomRibbonButton"
     RegistrationId="101"
     RegistrationType="List"
     Location="CommandUI.Ribbon"
     Sequence="5"
     Title="Move Documents" />
如上实例:
 RegistrationId="101",不知道具体代表什么对象,下面就列举出所有sharepoint里面所代表的值:

Type:

Value   Description

-1     InvalidType

100   Generic list      //列表

101   Document library  //文档库

102   Survey            //调查

103   Links list        //网站链接

104   Announcements list

105   Contacts list

106   Events list

107   Tasks list       //任务

108   Discussion board  //讨论板

109   Picture library

110   Data sources

111   Site template gallery

113   Web Part gallery

114  List template gallery

115  XML Form library

120  Custom grid for a list

200  Meeting Series list

201  Meeting Agenda list

202  Meeting Attendees list

204  Meeting Decisions list

207  Meeting Objectives list

210  Meeting text box

211  Meeting Things To Bring list

212  Meeting Workspace Pages list

300   Portal Sites list.

1100  Issue tracking

2002  Personal document library

2003  Private document library

BaseType

0 — Custom List

1 — Document Library

2 — Not used

3 — Discussion Forum

4 — Surveys

5 — Issues List


开发自定义图片库时,需要设置Type="109" and BaseType="1" ,自定义日志Type="100" BaseType="0".

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值