首页 > 代码库 > ListDefinition Tips

ListDefinition Tips

1)ListTemplate.Type位数不能太长(最长7位),否则启用内容类型后,列表设置中会抛异常。

<ListTemplate
Name="List1"
Type="140602"

Type

Optional Integer. Provides a unique identifier for the template. This identifier must be unique within the feature, but need not be unique across all feature definitions or site definitions. For a list of the default list template types, see SPListTemplateType.