未使用SPO中的所有分类法字段检索要更新的SPListItem

未使用SPO中的所有分类法字段检索要更新的SPListItem

本文介绍了未使用SPO中的所有分类法字段检索要更新的SPListItem的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在SPO(SharePoint Online)上遇到问题.任何人都可以解释为什么发生此错误?并有解决方案吗?请让我一步一步知道.
从清单.xml 中下载为模板,并从下面的中下载我的字段之一.

I'm facing the issues on SPO(SharePoint Online). Any one can explain why this error occurred? and Have any solution to Fix? Please let me know step by step.
Download as a template and One of my Fields below from manifest.xml.

 <Field ID="{b8a02c27-2a46-4153-9134-9a63f68a3729}" Name="SAEFSecurityClassificationTaxHTField0" StaticName="SAEFSecurityClassificationTaxHTField0" DisplayName="Security Classification_0" Type="Note" Required="FALSE" ShowInViewForms="FALSE" CanToggleHidden="TRUE" Overwrite="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" Customization="" Version="4" AllowDeletion="TRUE" Hidden="TRUE" ColName="ntext2" RowOrdinal="0"/>
    <Field ID="{2ce2f798-4e95-48f9-a317-73f854109466}" Name="SAEFSecurityClassification" StaticName="SAEFSecurityClassification" Group="Shell Document Columns" DisplayName="Security Classification" Type="TaxonomyFieldType" ShowField="Term1033" Required="TRUE" Mult="FALSE" Overwrite="TRUE" ShowInDisplayForm="TRUE" ShowInEditForm="TRUE" ShowInNewForm="TRUE" ShowInFileDlg="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" List="{08309df3-77b0-406a-a08a-a91f306d2d20}" WebId="3a8de7a5-f7e1-41ca-9ab6-717476915a69" Customization="" Version="7" AllowDeletion="TRUE" EnforceUniqueValues="FALSE" ColName="int2" RowOrdinal="0">
      <Default>15;#Unrestricted|a6bcf75a-a979-458c-83c1-40defbdcf8ae</Default>
      <Customization>
        <ArrayOfProperty>
          <Property>
            <Name>SspId</Name>
            <Value xmlns:q1="http://www.w3.org/2001/XMLSchema" p4:type="q1:string" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance">f6342a3a-e960-4137-a44a-2b1219963d10</Value>
          </Property>
          <Property>
            <Name>GroupId</Name>
          </Property>
          <Property>
            <Name>TermSetId</Name>
            <Value xmlns:q2="http://www.w3.org/2001/XMLSchema" p4:type="q2:string" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance">daf890f0-167e-4ee2-a9fd-a81536ed8167</Value>
          </Property>
          <Property>
            <Name>AnchorId</Name>
            <Value xmlns:q3="http://www.w3.org/2001/XMLSchema" p4:type="q3:string" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance">00000000-0000-0000-0000-000000000000</Value>
          </Property>
          <Property>
            <Name>UserCreated</Name>
            <Value xmlns:q4="http://www.w3.org/2001/XMLSchema" p4:type="q4:boolean" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance">false</Value>
          </Property>
          <Property>
            <Name>Open</Name>
            <Value xmlns:q5="http://www.w3.org/2001/XMLSchema" p4:type="q5:boolean" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance">false</Value>
          </Property>
          <Property>
            <Name>TextField</Name>
            <Value xmlns:q6="http://www.w3.org/2001/XMLSchema" p4:type="q6:string" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance">{b8a02c27-2a46-4153-9134-9a63f68a3729}</Value>
          </Property>
          <Property>
            <Name>IsPathRendered</Name>
            <Value xmlns:q7="http://www.w3.org/2001/XMLSchema" p4:type="q7:boolean" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance">false</Value>
          </Property>
          <Property>
            <Name>IsKeyword</Name>
            <Value xmlns:q8="http://www.w3.org/2001/XMLSchema" p4:type="q8:boolean" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance">false</Value>
          </Property>
          <Property>
            <Name>TargetTemplate</Name>
          </Property>
          <Property>
            <Name>CreateValuesInEditForm</Name>
            <Value xmlns:q9="http://www.w3.org/2001/XMLSchema" p4:type="q9:boolean" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance">false</Value>
          </Property>
          <Property>
            <Name>FilterAssemblyStrongName</Name>
            <Value xmlns:q10="http://www.w3.org/2001/XMLSchema" p4:type="q10:string" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance">Microsoft.SharePoint.Taxonomy, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Value>
          </Property>
          <Property>
            <Name>FilterClassName</Name>
            <Value xmlns:q11="http://www.w3.org/2001/XMLSchema" p4:type="q11:string" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance">Microsoft.SharePoint.Taxonomy.TaxonomyField</Value>
          </Property>
          <Property>
            <Name>FilterMethodName</Name>
            <Value xmlns:q12="http://www.w3.org/2001/XMLSchema" p4:type="q12:string" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance">GetFilteringHtml</Value>
          </Property>
          <Property>
            <Name>FilterJavascriptProperty</Name>
            <Value xmlns:q13="http://www.w3.org/2001/XMLSchema" p4:type="q13:string" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance">FilteringJavascript</Value>
          </Property>
        </ArrayOfProperty>
      </Customization>
    </Field>

推荐答案

在字段模式中,存在另一个名为显示名称""Security Classfication_0&"的注释类型"字段,这意味着分类法字段需要另一个注释"字段.如果不需要,请尝试在架构中删除此注释类型"字段.

In the field schema, there is another Note Type field called with Display Name "Security Classfication_0", it means the taxonomy field required another Note field. Please try to delete this Note Type field in the schema if it is not necessary.

通过同样的问题检查此博客:

Check this blog with the same issue:

修复: 并非所有分类法字段都检索到正在更新的SPListItem.

Fix: The SPListItem being updated was not retrieved with all taxonomy fields.

谢谢

最好的问候


这篇关于未使用SPO中的所有分类法字段检索要更新的SPListItem的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-22 19:25