share point 字段类型
| Type (as shown on the Create Column page) | Field Type | Notes | MSDN Links |
| Single line of text | Type=”Text” | Microsoft.Sharepoint.SPFieldText | |
| Multiple lines of text | Type=”Note” | In the Create Column page, can pick the type of text to allow. To enable the different sub-types, you need to set a couple of other attributes on the field element.
Plain Text Rich Text Enhanced Text In addition, you can also set the number of lines to display using the NumLine attribute. Further Information on MSDN: |
Microsoft.Sharepoint.SPFieldMultiLineText |
| Choice (menu to choose from) | Single Choice Type=”Choice” Multi-Choice |
Pick the display format for the Choice and Multi-Choice types, respectively:
Drop-Down Menu or Combo Box Radio Buttons or Check Boxes Define the options a user can pick from using the Choices element. Below is a skeleton to explain this. <Field Name=”MyOptions” Type=……> If you would like to give the user an option to add their own value, set the attribute FillInChoice=”TRUE”. |
Microsoft.Sharepoint.SPFieldChoice Microsoft.Sharepoint.SPFieldMultiChoice |
| Number | Type=”Integer” | This field type also lets you define:
Minimum Value (0 for example) Maximum Value (100 for example) Decimal Places (Default is Automatic, example 2 decimal places) Show as Percentage (Default is False) |
Microsoft.SharePoint.SPFieldNumber |
| Currency | Type=”Currency” | This field type also lets you define:
Minimum Value (0 for example) Maximum Value (100 for example) Decimal Places (Default is Automatic, example 2 decimal places) Currency Format LCID=”3081” 3081 sets the format English – Australian. For a complete list of Locales, see the MSDN link in the next column. |
Microsoft.Sharepoint.SPFieldCurrency |
| Date and Time | Type=”DateTime” | This field also lets you define:
Date and Time Format Show the date and time: |
Microsoft.Sharepoint.SPFieldDateTime |
| Yes/No | Type=”Boolean” | When setting the default value, you need to use the binary values:
No/False = 0 |
Microsoft.Sharepoint.SPFieldBoolean |
| Person or Group | Single User or Group Type=”User” Multiple Users or Groups |
This field also lets you define:
Allow multiple selections Allow selection of People and Groups Choose from Show field If you would also like to show presence (Office Communicator integration required): |
Microsoft.Sharepoint.SPFieldUser |
| Hyperlink or Picture | Type=”URL” | You can display the URL as a Hyperlink or Picture. Use the Format attribute to pick which one:
Hyperlink Picture |
share point 字段类型的更多相关文章
- Oracle修改字段类型方法总结
有一个表名为tb,字段段名为name,数据类型nchar(20). 1.假设字段数据为空,则不管改为什么字段类型,可以直接执行:alter table tb modify (name nvarchar ...
- 关于SubSonic3.0插件使用SubSonic.Query.Select查询时,字段类型为tinyint时列丢失问题的Bug修复
下午在写代码时,突然发现一个列名为Enable的字段怎么也查询不出来,开始以为可能这个名称是关键字,所以给过滤掉了,所以就将名称修改为IsEnable,问题还是一样......将名称又改为IsEnab ...
- Django model字段类型清单
转载:<Django model字段类型清单> Django 通过 models 实现数据库的创建.修改.删除等操作,本文为模型中一般常用的类型的清单,便于查询和使用: AutoField ...
- SQL常用字段类型
中文常用字段类型 1. 名称类 nvarchar(10) 2. 数量 int 3. 时间 date 4. 货币 money 5. 编号 ...
- SQL数据库中字段类型 与C#中的对应字段类型
数据库中的字段类型和对应的C#中的对应字段类型 数据库 C#程序int int32text stringbigint int64binary System.Byte[] ...
- Solr内置的字段类型
字段类型在org.apache.solr.schema包下 Class 描述 BCDIntField 二进制整形字段 BCDLongField 二进制长整形字段 BCDStrField 二进制字符型字 ...
- django:field字段类型
字段类型(Field types) AutoField 它是一个根据 ID 自增长的 IntegerField 字段.通常,你不必直接使用该字段.如果你没在别的字段上指定主 键,Django 就会自动 ...
- mongodb字段类型转化
最近在使用mongoDB, 发现mongo对字段类型的定义并不是很严格,完全依赖传入数据的类型,在加上PHP是弱类型的语言,所以难免会出现一些错误.如果预想的类型是Int型,但数据存储的是String ...
- sqlserver字段类型
bit 整型 bit数据类型是整型,其值只能是0.1或空值.这种数据类型用于存储只有两种可能值的数据,如Yes 或No.True 或False .On 或Off. 注意:很省空间的一种数据类型, ...
随机推荐
- Java学习之==>注释、数据类型、变量、运算符
一.注释 在Java中有3种标记注释的方式,最常用的方式是 // ,其注释的内容从 // 开始,到本行结束.但需要注意的是,我们不建议把注释写在代码的尾部(即尾注释),我们建议把注释写在代码的上一行, ...
- PP相关号码范围IMG设定
一.定义订单号码范围——CO82 IMG> 生產> 現埸控制 > 主檔資料 > 訂單 > 定義訂單號碼範圍 可看到目前工單所訂義的區間(注意, 工單的號碼區間和CO的內部 ...
- 使用SpringWebFlow
使用SpringWebFlow 本章主要内容: · 创建会话式的Web应用程序 · 定义流程状态和行为 Spring Web Flow 是Spring MVC 的扩展,它支持开发基于流程的应用程序.它 ...
- leaflet的入门开发(一)
2016年9月27日—1.0leaflet,最快的,最稳定和严谨的leaflet,终于出来了! leaflet是领先的开源JavaScript库为移动设备设计的互动地图.重33 KB的JS,所有映射大 ...
- Java锁机制ReentrantLock
ReentrantLock 锁常用于保证程序的人为顺序执行. 写一个类模拟ReentrantLock类的功能 class MyLock{ private boolean lock = false; p ...
- Libra的思考
这几年关注了很多的新技术,近期让我觉得值得一讲的是blockchain,刚巧6.18号就发布了Libra 他是这么介绍自己的 libra https://developers.libra.org/bl ...
- 小记---------网页采集之Jsoup
Jsoup是一款Java解析器,相当于httpClient解析器 功能:①:从一个URL,文件或字符串中解析HTML ②:使用DOM或CSS选择器来查找.取出数据 ...
- logging模块及日志框架
logging模块及日志框架 logging模块 一.导入方式 import logging 二.作用 写日志 三.模块功能 3.1 经常使用 # V1 import logging logging ...
- 根据ip获取地理信息.php
根据ip获取地理信息.php <?php function getIPLoc_sina($queryIP){ $url = 'http://int.dpool.sina.com.cn/iploo ...
- RabbitMQ入门教程(十五):普通集群和镜像集群
原文:RabbitMQ入门教程(十五):普通集群和镜像集群 版权声明:本文为博主原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明. 本文链接:https://blog.c ...