Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

field Element (sharepointListAdapter Element)

Office 2007

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

Type

xsd:ComplexType

Parent Elements

ElementDescription
sharepointListAdapterContains the data adapter information to query a SharePoint list or library.

Child Elements

None.

Attributes

AttributeTypeRequiredDescriptionPossible Values
sharepointName
xsd:string
YesContains the name of a field in a SharePoint list.string
xsd:string
infopathName
xsd:string
YesContains the corresponding InfoPath field name for the sharepointName.string
xsd:string
isLookup
xdYesNo
NoSpecifies 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>


Community Additions

ADD
Show:
© 2015 Microsoft