sharepoint 2013 开发自定义字段类型说明
来源:互联网 发布:园区网络设计方案 编辑:程序博客网 时间:2024/05/03 07:57
Type (as shown on the Create Column page)Field TypeNotesMSDN LinksSingle line of textType=”Text” Microsoft.Sharepoint.
Plain Text
RichText=”FALSE” (default value)
Rich Text
RichText=”TRUE”
RichTextMode=”Compatible” (default value)
Enhanced Text
RichText=”TRUE”
RichTextMode=”FullHtml”
In addition, you can also set the number of lines to display using the NumLine attribute.
Further Information on MSDN:Microsoft.Sharepoint.
Type=”Choice”
Multi-Choice
Type=”MultiChoice"Pick the display format for the Choice and Multi-Choice types, respectively:
Drop-Down Menu or Combo Box
Format=”Dropdowns”
Radio Buttons or Check Boxes
Format=”RadioButtons”
Define the options a user can pick from using the Choices element. Below is a skeleton to explain this.
<Field Name=”MyOptions” Type=……>
<CHOICES>
<CHOICE>Option 1</CHOICE>
<CHOICE>Option 2</CHOICE>
</CHOICES>
</Field>
If you would like to give the user an option to add their own value, set the attribute FillInChoice=”TRUE”.Microsoft.Sharepoint.
Microsoft.Sharepoint.
Minimum Value (0 for example)
Min=”0”
Maximum Value (100 for example)
Max=”100”
Decimal Places (Default is Automatic, example 2 decimal places)
Decimals=”2”
Show as Percentage (Default is False)
Percentage=”FALSE”Microsoft.SharePoint.
CurrencyType=”Currency”This field type also lets you define:
Minimum Value (0 for example)
Min=”0”
Maximum Value (100 for example)
Max=”100”
Decimal Places (Default is Automatic, example 2 decimal places)
Decimals=”2”
Currency Format
This sets the display format of the currency.
LCID=”3081”
3081 sets the format English – Australian. For a complete list of Locales, see the MSDN link in the next column.Microsoft.Sharepoint.
Locale IDsDate and TimeType=”DateTime”This field also lets you define:
Date and Time Format
Show the date only:
Format=”DateOnly”
Show the date and time:
Format=”DateTime”Microsoft.Sharepoint.
No/False = 0
Yes/True = 1Microsoft.Sharepoint.
Type=”User”
Multiple Users or Groups
Type=”MultiUser”This field also lets you define:
Allow multiple selections
Set the Type to MultUser and the attribute Mult=”TRUE”
Allow selection of
People Only
UserSelectionMode=”PeopleOnly”
People and Groups
UserSelectionMode=”
Choose from
If you want to limit the option list to a SharePoint Group, use the UserSelectionScope attribute. Set it to the ID of the SharePoint group (Integer value). For example, UserSelectionScope=”3”.
Show field
Set the name of the field from the User’s profile properties that you want to display. For example, show the user’s name property:
ShowField=”Name”
If you would also like to show presence (Office Communicator integration required):
Presence=”TRUE”
Hyperlink
Format=”Hyperlink”
Picture
Format=”Image”
0 0
- sharepoint 2013 开发自定义字段类型说明
- 开发自定义字段类型 sharepoint
- SharePoint 2010 自定义字段开发
- SharePoint 2010 自定义字段开发
- SharePoint 2010 自定义 字段 类型--------省市区联动
- SharePoint 2013 图文开发系列之自定义字段
- SharePoint 2010 自定义字段"大写金额"开发
- SharePoint 2010 自定义 字段 类型--------三级互联(省县市)
- sharepoint 创建自定义字段
- SharePoint 2013 开发文档管理字段小记
- sharepoint 2010 自定义字段开发(1) 创建一个简单的列表自定义字段
- 自定义sharepoint文件上传字段
- MySQL字段类型说明
- MySQL字段类型说明
- mysql 字段类型说明
- mysql 字段类型说明
- MySQL字段类型说明
- mysql 字段类型说明
- sqlserver中文件组Filegroup的使用
- sed在行首(行尾)添加字符串;在某行后添加多行字符串-转
- Android中控件使用技巧之:TextView
- awk '/#BEGIN/,/#END/{next}1' 1是什么意思?-转
- shell 判断执行结果 是否要推出
- sharepoint 2013 开发自定义字段类型说明
- Linux RCU锁简析
- 浅谈前端入门以及项目初创的经验
- 从零开始学习OpenWrt完美教程-转
- OpenWRT in VirtualBox
- make clean与make distclean的区别-转
- linux驱动基础开发0——linux 设备驱动概述-转
- [Leetcode]36. Valid Sudoku@python
- linux驱动基础开发1——linux 设备驱动基本概念-转