我会保持简短和甜蜜。有谁真的知道是什么 “列表模板所有者” element.xml 的标签 “接收器”节点真的是什么意思?
来自微软网站:http://msdn.microsoft.com/en-us/library/ms431081(loband).aspx
ListTemplateOwner: Optional Text. Specifies the GUID of the list template owner if the list template is registered via Features, or the name of the site definition if the list template is registered by a site definition.
最佳答案
如果列表由功能中的 ListTemplate 定义,则 ListTemplateOwner 是定义列表的功能的 ID .
当您引用任何标准列表(ListTemplateId < 10000)时,您无需指定 ListTemplateOwner(由于向后兼容)
当您引用由您或第三方定义的列表时,您需要 ListTemplateId(> 10000 并匹配来自定义 ListTemplate 的 Type 属性)和 ListTemplateOwner 的组合,该组合与定义 ListTemplate 的功能的 FeatureId 相匹配。
这是因为当您定义 ListTemplate 时,规则是 Type 应该 > 10000 并且在特征内部是唯一的,但是任何数量的特征都可能有自己的 ListTemplate 类型为 10001(并且定义列表的特征通常只是从10001)
如果列表由站点定义中的 ListTemplate 定义,则 ListTemplateOwner 是该站点定义的名称 ,但不要在站点定义中定义列表在功能中进行。
关于sharepoint - 列表模板所有者,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/786662/