Export (0) Print
Expand All

server Element

Office 2007

Specifies how a form template is displayed and how it works when opened in a Web browser.

Usage


<server
	formLocale="xsf2:formLocaleType"
	isPreSubmitPostBackEnabled="xsf:xdYesNo"
	isMobileEnabled="xsf:xdYesNo"
/>

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

ElementDescription
toolbarContains information about the toolbar that is displayed when a form is opened in a browser from a server running InfoPath Forms Services.

Attributes

AttributeTypeRequiredDescriptionPossible Values
formLocaleformLocaleTypeRequiredSpecifies the culture in which to render the form when it is opened from a server running InfoPath Forms Services.

Note   This element or attribute must be present and valid in the form definition file (.xsf), before InfoPath Forms Services will allow the form template to be deployed to the server as a browser-compatible form.

minLength = 1

isPreSubmitPostBackEnabledxdYesNoOptionalSpecifies whether the form should do a post back to the server prior to submitting the form.

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.
  • yes
  • no
isMobileEnabledxdYesNoOptionalSpecifies whether this form can be opened in a browser on a mobile device.

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.
  • yes
  • no

Definition


<xsd:element name="server">
   <xsd:complexType>
      <xsd:sequence>
         <xsd:element ref="xsf2:toolbar" minOccurs="0" />
      </xsd:sequence>
      <xsd:attribute name="formLocale" type="xsf2:formLocaleType" use="required" />
      <xsd:attribute name="isPreSubmitPostBackEnabled" type="xsf:xdYesNo" use="optional" />
      <xsd:attribute name="isMobileEnabled" type="xsf:xdYesNo" use="optional" />
      <xsd:anyAttribute processContents="skip" />
   </xsd:complexType>
</xsd:element>

Remarks

Note   This element or attribute must be present and valid in the form definition file (.xsf), before InfoPath Forms Services will allow the form template to be deployed to the server as a browser-compatible form.



Community Additions

ADD
Show:
© 2014 Microsoft