2.2.1.2.133 field (4)

The field element specifies mapping information for a field that is used by the list data adapter to query or submit data to and from a list.

Parent Elements

sharepointListAdapterRW

Attributes:

appendOnly: This attribute specifies whether the field is an append-only field, as specified in [MS-WSSFO2] section 2.2.8.3.3.1. If this attribute is not present, its value MUST be interpreted as "no".

auxDomName: This attribute specifies the name of the data adapter associated with a lookup field. The value for this attribute MUST be the name of a secondary list data adapter that exists in the form template. This attribute MUST be present for a field that specifies a type value set to "Lookup" or "LookupMulti".

hiddenFieldName: This attribute MUST be ignored.

internalName: This attribute specifies the field's (3) internal name.

required: This attribute specifies whether the list's field is required, as specified in [MS-WSSFO2] section 2.2.8.3.3.1. If this attribute is not present, its value MUST be interpreted as "no".

showFieldName: This attribute specifies the name of the show field, as specified in [MS-WSSFO2] section 2.2.8.3.3, associated with a lookup field. This attribute MUST be present for a field that specifies a type value set to "Lookup" or "LookupMulti".

type: This attribute specifies the type for the field (3). The value for this attribute MUST be one listed in the following table.

Field Type

Description

Counter

As specified in [MS-WSSTS] section 2.3.1.

Integer

As specified in [MS-WSSTS] section 2.3.1. This attribute MUST NOT be present for a main data source.

Number

As specified in [MS-WSSTS] section 2.3.1.

Currency

As specified in [MS-WSSTS] section 2.3.1.

Text

As specified in [MS-WSSTS] section 2.3.1.

Choice

As specified in [MS-WSSTS] section 2.3.1.

Plain

Specifies a Note field, as specified in [MS-WSSTS] section 2.3.1, with no formatted text.

Compatible

Specifies a Note field, as specified in [MS-WSSTS] section 2.3.1,  with compatible formatting, as specified in [MS-WSSFO2] section 2.2.8.2.5.

FullHTML

Specifies a Note field, as specified in [MS-WSSTS] section 2.3.1, with full HTML formatting, as specified in [MS-WSSFO2] section 2.2.8.2.5.

DateTime

As specified in [MS-WSSTS] section 2.3.1.

Boolean

As specified in [MS-WSSTS] section 2.3.1.

Lookup

As specified in [MS-WSSTS] section 2.3.1.

LookupMulti

As specified in [MS-WSSTS] section 2.3.1.

MultiChoice

As specified in [MS-WSSTS] section 2.3.1.

URL

As specified in [MS-WSSTS] section 2.3.1.

User

As specified in [MS-WSSTS] section 2.3.1.

UserMulti

As specified in [MS-WSSTS] section 2.3.1.

Calculated

As specified in [MS-WSSTS] section 2.3.1.

Attachments

As specified in [MS-WSSTS] section 2.3.1.

HybridUser

Specifies an aggregation of fields. This field type value MUST only be set for a form template with the solutionMode attribute, as specified in section 2.2.3.2.7, set to "workflowInitAssoc".

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.

 <xsd:element name="field" minOccurs="0" maxOccurs="unbounded">
   <xsd:complexType>
     <xsd:attribute name="internalName" type="xsd:string" use="required"/>
     <xsd:attribute name="hiddenFieldName" type="xsd:string" use="optional"/>
     <xsd:attribute name="type" type="xsd:string" use="required"/>
     <xsd:attribute name="auxDomName" type="xsd:string" use="optional"/>
     <xsd:attribute name="showFieldName" type="xsd:string" use="optional"/>
     <xsd:attribute name="required" type="xsf:xdYesNo" use="optional"/>
     <xsd:attribute name="appendOnly" type="xsf:xdYesNo" use="optional"/>
   </xsd:complexType>
 </xsd:element>