什么是记录库的模板ID? [英] What it the template id for a Record Library?
问题描述
为了创建库,Web服务需要一个templatId值
In order to create a library, the Web Service requires a templatId value
我能够使用整数101创建一个新的文档库。
I am able to create a new Document library using the integer 101.
我想要做的是创建一个新的记录库,但是,我找不到记录库的templateId。 有人可以帮忙吗?
What I want to do is create a new Record Library, however, I cannot find the templateId for a Record Library. Can anyone help?
< soapenv:Envelope xmlns:soapenv =" http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap =" http://schemas.microsoft.com/sharepoint/soap/">
< soapenv:Header />
< soapenv:Body>
&NBSP; &NBSP; < soap:AddList>
&NBSP; &NBSP; &NBSP; < soap:listName> test< / soap:listName>
&NBSP; &NBSP; &NBSP; <! - 可选: - >
&NBSP; &NBSP; &NBSP; < soap:description> test< / soap:description>
&NBSP; &NBSP; &NBSP; < soap:templateID> 101< / soap:templateID>
&NBSP; &NBSP; < / soap:AddList>
< / soapenv:Body>
< / soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.microsoft.com/sharepoint/soap/">
<soapenv:Header/>
<soapenv:Body>
<soap:AddList>
<soap:listName>test</soap:listName>
<!--Optional:-->
<soap:description>test</soap:description>
<soap:templateID>101</soap:templateID>
</soap:AddList>
</soapenv:Body>
</soapenv:Envelope>
Bill Behning
Bill Behning
推荐答案
您好
价值是1302
如何使用它启用"就地记录管理"功能后的Powershell
在网站集级别,您可以获取详细信息 b
How to get it using Powershell
after you enable the feature In Place Records Management at site collection level, you can get the details
spWeb = Get-SPWeb -Identity URL_SITE_COLLECTION
(
spWeb = Get-SPWeb -Identity URL_SITE_COLLECTION
(
spWeb.ListTemplates [" Record Library"])
spWeb.ListTemplates["Record Library"])
答案如下:
这篇关于什么是记录库的模板ID?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!