Share via


field Element (sharepointListAdapter Element)

Contains field mapping information for each field in a SharePoint list and the corresponding name used in InfoPath.

Type

  xsd:ComplexType

Parent Elements

Element Description
sharepointListAdapter Contains the data adapter information to query a SharePoint list or library.

Child Elements

None.

Attributes

Attribute Type Required Description Possible Values
sharepointName
  xsd:string
Yes Contains the name of a field in a SharePoint list. string
  xsd:string
infopathName
  xsd:string
Yes Contains the corresponding InfoPath field name for the sharepointName. string
  xsd:string
isLookup
  xdYesNo
No Specifies whether a field in a SharePoint list is a lookup field. The default is "no".
  • yes
  • no
  xdYesNo

Definition

  <xsd:element name="field" minOccurs="0" maxOccurs="unbounded">
  <xsd:complexType>
    <xsd:attribute name="sharepointName" type="xsd:string" use="required"></xsd:attribute>
    <xsd:attribute name="infopathName" type="xsd:string" use="required"></xsd:attribute>
    <xsd:attribute name="isLookup" type="xsf:xdYesNo" use="optional"></xsd:attribute>
  </xsd:complexType>
</xsd:element>

Remarks

Each field returned from a SharePoint list or library by the sharepointListAdapter data adapter will have a field element.

Example

The following is an example of the field element:

  <xsf:field
 sharepointName="xd__x007b_D00F1DBD_..."
 infopathName="Title_1"
 isLookup="no">
</xsf:field>