Contains field mapping information for each field in a SharePoint list and the corresponding name used in InfoPath.
xsd:ComplexType
Element | Description |
---|---|
sharepointListAdapter | Contains the data adapter information to query a SharePoint list or library. |
None.
Attribute | Type | Required | Description | Possible Values |
---|---|---|---|---|
sharepointName | xsd:string |
Yes | Contains the name of a field in a SharePoint list. | string |
infopathName | xsd:string |
Yes | Contains the corresponding InfoPath field name for the sharepointName. | string |
isLookup | xdYesNo |
No | Specifies whether a field in a SharePoint list is a lookup field. The default is "no". |
|
<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>
Each field returned from a SharePoint list or library by the sharepointListAdapter data adapter will have a field element.
Note This item is not supported when the Disable Service Pack features option on the Advanced tab of the Options dialog box in InfoPath is selected or when Microsoft Office 2003 Editions Service Pack 1 or later is not installed. Any form defined by a form definition file (.xsf) that includes this item cannot be opened in InfoPath when service pack features are disabled or unavailable.
The following is an example of the field element:
<xsf:field
sharepointName="xd__x007b_D00F1DBD_..."
infopathName="Title_1"
isLookup="no">
</xsf:field>