【发布时间】:2020-02-20 09:37:55
【问题描述】:
我正在尝试使用 SOAP API 更新托管元数据字段 (TaxonomyFieldType),以下是我的 SOAP XML。
<Batch OnError = "Continue">
<Method ID = "1" Cmd = "Update">
<Field
Name = "ID"
xsi:type = "xsd:string"
xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd = "http://www.w3.org/2001/XMLSchema">12</Field>
<Field
Name = "TaskOutcome"
xsi:type = "xsd:string"
xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd = "http://www.w3.org/2001/XMLSchema">Approved</Field>
<Field
Name = "Title"
xsi:type = "xsd:string"
xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd = "http://www.w3.org/2001/XMLSchema">sample</Field>
<Field
Name = "FileRef"
xsi:type = "xsd:string"
xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd = "http://www.w3.org/2001/XMLSchema">sample.txt</Field>
<Field
Name = "MM"
DisplayName = "MM_0"
Type = "TaxonomyFieldTypeMulti"
xsi:type = "xsd:string"
xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd = "http://www.w3.org/2001/XMLSchema">-1;#test2|168baffc-6f72-46cd-8750-98d53ed1acca</Field>
</Method>
</Batch>
服务器没有错误,托管元数据文件未更新。
你能帮我解决一下我在这里做错了什么吗?
【问题讨论】:
标签: java soap sharepoint metadata sharepoint-2013