This documentation is archived and is not being maintained.

connectoid Element

Office 2007

Specifies information that describes a data connection file (.ucdx).

Usage


<connectoid
	name="xsd:string"
	siteCollection="xsd:string"
	source="xsd:string"
	connectionLinkType="xsd:string"
/>

Element Information

Element type xsd:complexType
Namespace xsf2

Elements and Attributes

Parent Elements

ElementDescription
adoAdapterExtensionSpecifies the extended information for the corresponding adoAdapter element in the manifest.xsf.
davAdapterExtensionSpecifies the extended information for the corresponding davAdapter element in the manifest.xsf.
sharepointListAdapterExtensionSpecifies the extended information for the corresponding sharepointListAdapter element in the manifest.xsf.
useHttpHandlerExtensionSpecifies the extended information for the corresponding useHttpHandler element in the manifest.xsf.
webServiceAdapterExtensionSpecifies extended information for the corresponding webServiceAdapter element in the manifest.xsf.
xmlFileAdapterExtensionSpecifies the extended information for the corresponding xmlFileAdapter element in the manifest.xsf.

Child Elements

None.

Attributes

AttributeTypeRequiredDescriptionPossible Values
namexsd:stringRequiredSpecifies the display name of the data connection file represented by the connectoid element.

Note   This element or attribute is optional in the form definition file (.xsf) of a form template deployed as a browser-compatible form to a server running InfoPath Forms Services.
String
siteCollectionxsd:stringRequiredSpecifies the URL to the root of the site collection where the data connection file represented by the connectoid element was located when the form was designed.

Note   This element or attribute is optional in the form definition file (.xsf) of a form template deployed as a browser-compatible form to a server running InfoPath Forms Services.
String
sourcexsd:stringRequiredSpecifies a URL fragment that specifies the path to the data connection file represented by the connectoid element, relative to the root of the SharePoint site collection.

Note   This element or attribute is optional in the form definition file (.xsf) of a form template deployed as a browser-compatible form to a server running InfoPath Forms Services.
String
connectionLinkTypexsd:stringRequiredSpecifies whether InfoPath should look for the specified UDC file in the current site collection ("relative"), or in a global data connection file store ("store").

Note   This element or attribute is optional in the form definition file (.xsf) of a form template deployed as a browser-compatible form to a server running InfoPath Forms Services.
  • relative
  • store

Definition


<xsd:element name="connectoid">
   <xsd:complexType>
      <xsd:sequence />
      <xsd:attribute name="name" type="xsd:string" use="required" />
      <xsd:attribute name="siteCollection" type="xsd:string" use="required" />
      <xsd:attribute name="source" type="xsd:string" use="required" />
      <xsd:attribute name="connectionLinkType" type="xsd:string" use="required" />
    </xsd:complexType>
</xsd:element>

Remarks

The connectoid element is an optional element that specifies that InfoPath should retrieve connection settings from an external file rather than from the manifest.xsf file. The source, siteCollection, and connectionLinkType attributes specify how and where InfoPath should look to find a Universal Data Connection V2 file (.udcx) containing connection settings for this data connection.

Note   This element or attribute is optional in the form definition file (.xsf) of a form template deployed as a browser-compatible form to a server running InfoPath Forms Services.

Example

The following is an example of the connectoid element.


<xsf2:connectoid name="Expense reports" connectionLinkType="store" siteCollection="http://example/sites" source="infopath/Data%20connection%20library/Expense reports.udcx" />


Show: