2.2.4.1 AddOrUpdateFieldDefinition

The AddOrUpdateFieldDefinition complex type specifies data on a field to be added or updated on a content type.

 <s:complexType name="AddOrUpdateFieldDefinition">
   <s:attribute name="Aggregation" type="s:string" />
   <s:attribute name="DisplayName" type="s:string" />
   <s:attribute name="Hidden" type="core:TRUE_Case_Sensitive_Else_Anything" />
   <s:attribute name="ID" type="core:UniqueIdentifierWithOrWithoutBraces" />
   <s:attribute name="Name" type="s:string" />
   <s:attribute name="Node" type="s:string" />
   <s:attribute name="PIAttribute" type="s:string" />
   <s:attribute name="PITarget" type="s:string" />
   <s:attribute name="PrimaryPIAttribute" type="s:string" />
   <s:attribute name="PrimaryPITarget" type="s:string" />
   <s:attribute name="ReadOnly" type="core:TRUE_Case_Sensitive_Else_Anything" />
   <s:anyAttribute namespace="##other" processContents="lax" />
 </s:complexType>

AddOrUpdateFieldDefinition.Aggregation: For fields with the Node or node attribute as specified in [MS-WSSFO2] section 2.2.8.3.3.2, a protocol server MUST use this attribute to control promotion from XML or site template files.

AddOrUpdateFieldDefinition.DisplayName: Specifies the text to be displayed in the user interface when referring to the field.

AddOrUpdateFieldDefinition.Hidden: Specifies that a field SHOULD not be rendered in views or forms. "TRUE" MUST correspond to true, and all other values to false.

AddOrUpdateFieldDefinition.ID: Specifies a GUID for the field.

AddOrUpdateFieldDefinition.Name: Specifies a string that identifies the field within its list. Used to find the field to be added or updated, if the protocol server cannot find a field for the value specified by the ID attribute of the AddOrUpdateFieldDefinition element or if the ID attribute is not specified.

AddOrUpdateFieldDefinition.Node: When present, specifies an XML Path Language (XPath) to be used to read or write the value of the field into an XML document.

AddOrUpdateFieldDefinition.PIAttribute: As specified in [MS-WSSFO2] section 2.2.8.3.3.2.

AddOrUpdateFieldDefinition.PITarget: As specified in [MS-WSSFO2] section 2.2.8.3.3.2.

AddOrUpdateFieldDefinition.PrimaryPIAttribute: As specified in [MS-WSSFO2] section 2.2.8.3.3.2.

AddOrUpdateFieldDefinition.PrimaryPITarget: As specified in [MS-WSSFO2] section 2.2.8.3.3.2.

AddOrUpdateFieldDefinition.ReadOnly: Specifies whether the user is allowed to change the field through the user interface. If true, only programmatic changes are allowed. "TRUE" MUST correspond to true, and all other values to false.