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. |
ListDefinition Tips,布布扣,bubuko.com
原文地址:http://www.cnblogs.com/jianyi0115/p/3764199.html