Export (0) Print
Expand All

offline Element

Office 2007

Specifies how the form template behaves when working offline.

Usage


<offline
	openIfQueryFails="xsf:xdYesNo"
	cacheQueries="xsf:xdYesNo"
	expirationTime="xsd:nonNegativeInteger"
/>

Element Information

Element type xsd:complexType
Namespace xsf2

Elements and Attributes

Parent Elements

ElementDescription
solutionDefinitionRoot element for the elements defined in the xsf2 namespace. Specifies new properties and features that have been added to Microsoft Office InfoPath 2007 form templates.

Child Elements

None.

Attributes

AttributeTypeRequiredDescriptionPossible Values
openIfQueryFailsxdYesNoOptionalSpecifies whether the offline form should still open if the query fails.

Note   If this element or attribute is in the form definition file (.xsf), InfoPath Forms Services will ignore this setting when the form template is deployed to the server as a browser-compatible form.
String
cacheQueriesxdYesNoOptionalSpecifies whether to cache data returned from queries so that it can be used when the form template is in Offline Mode.

Note   If this element or attribute is in the form definition file (.xsf), InfoPath Forms Services will ignore this setting when the form template is deployed to the server as a browser-compatible form.
String
expirationTimexsd:nonNegativeIntegerOptionalSpecifies how long cache data is available for use in Offline Mode. If not present, data never expires.

Note   If this element or attribute is in the form definition file (.xsf), InfoPath Forms Services will ignore this setting when the form template is deployed to the server as a browser-compatible form.
Integer

Definition


<xsd:element name="offline">
   <xsd:complexType>
      <xsd:attribute name="openIfQueryFails" type="xsf:xdYesNo" default="no" use="optional" />
      <xsd:attribute name="cacheQueries" type="xsf:xdYesNo" default="no" use="optional" />
      <xsd:attribute name="expirationTime" type="xsd:nonNegativeInteger" use="optional" />
      <xsd:anyAttribute processContents="skip" />
    </xsd:complexType>
</xsd:element>

Remarks

Note   If this element or attribute is in the form definition file (.xsf), InfoPath Forms Services will ignore this setting when the form template is deployed to the server as a browser-compatible form.



Community Additions

ADD
Show:
© 2015 Microsoft