2.2.1.2.17 dataObject

The dataObject element specifies the properties and behavior of a secondary data connection that queries a secondary data source for data.

Parent Elements

dataObjects

Child Elements

query

Attributes:

initOnLoad: This attribute specifies whether the secondary data source MUST be queried when the form is loaded. If this attribute is not present, its value MUST be interpreted as "no".

name: This attribute specifies the name for the secondary data source. The specified name MUST be unique among all secondary data sources in the form template.

schema: This attribute specifies the name of the XML schema document associated with the secondary data source.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.

 <xsd:element name="dataObject">
   <xsd:complexType>
     <xsd:choice>
       <xsd:element name="query">
         <xsd:complexType>
           <xsd:choice>
             <xsd:element ref="xsf:adoAdapter"/>
             <xsd:element ref="xsf:webServiceAdapter"/>
             <xsd:element ref="xsf:xmlFileAdapter"/>
             <xsd:element ref="xsf:sharepointListAdapter"/>
             <xsd:element ref="xsf:sharepointListAdapterRW"/>
           </xsd:choice>
         </xsd:complexType>
       </xsd:element>
     </xsd:choice>
     <xsd:attribute name="name" type="xsf:xdTitle" use="required"/>
     <xsd:attribute name="schema" type="xsd:string" use="optional"/>
     <xsd:attribute name="initOnLoad" type="xsf:xdYesNo" use="optional"/>
   </xsd:complexType>
 </xsd:element>