2.2.1.2.28 field (1)

The field element specifies mapping information for a list field that is used by the list data adapter to query a list. Each list field returned from a query MUST be specified by an instance of this element.

Parent Elements

sharepointListAdapter

Attributes:

infopathName: This attribute specifies the name of the field in the form view that corresponds to the list field name, as specified by the value of the sharepointName attribute.

isLookup: This attribute specifies whether the field is considered a lookup field. If this attribute is not present, its value MUST be interpreted as "no".

sharepointName: This attribute specifies the list field name that corresponds to the name of the field in the form view, as specified by the value of the infopathName attribute.

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="sharepointName" type="xsd:string" use="required"/>
     <xsd:attribute name="infopathName" type="xsd:string" use="required"/>
     <xsd:attribute name="isLookup" type="xsf:xdYesNo" use="optional"/>
   </xsd:complexType>
 </xsd:element>