Share via


connectoid Element

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

Element Description
adoAdapterExtension Specifies the extended information for the corresponding adoAdapter element in the manifest.xsf.
davAdapterExtension Specifies the extended information for the corresponding davAdapter element in the manifest.xsf.
sharepointListAdapterExtension Specifies the extended information for the corresponding sharepointListAdapter element in the manifest.xsf.
useHttpHandlerExtension Specifies the extended information for the corresponding useHttpHandler element in the manifest.xsf.
webServiceAdapterExtension Specifies extended information for the corresponding webServiceAdapter element in the manifest.xsf.
xmlFileAdapterExtension Specifies the extended information for the corresponding xmlFileAdapter element in the manifest.xsf.

Child Elements

None.

Attributes

Attribute Type Required Description Possible Values
name xsd:string Required Specifies 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
siteCollection xsd:string Required Specifies 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
source xsd:string Required Specifies 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
connectionLinkType xsd:string Required Specifies 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" />