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.

posted on 2014-06-02 12:06  jianyi  阅读(212)  评论(0编辑  收藏  举报