Export (0) Print
Expand All

toolbar Element

Office 2007

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

Usage


<toolbar
	enabledTop="xsf:xdYesNo"
	enabledBottom="xsf:xdYesNo"
/>

Element Information

Element type xsd:complexType
Namespace xsf2

Elements and Attributes

Parent Elements

ElementDescription
serverSpecifies how a form template is displayed and works when opened in a Web browser.

Child Elements

ElementDescription
commandsContains the commands that display on the toolbar when a form is opened in a browser from a server running InfoPath Form Services.

Attributes

AttributeTypeRequiredDescriptionPossible Values
enabledTopxdYesNoOptionalSpecifies whether Forms Services displays the toolbar on the top of 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
enabledBottomxdYesNoOptionalSpecifies whether Forms Services displays the toolbar on the bottom of 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

Definition


<xsd:element name="toolbar">
   <xsd:complexType>
      <xsd:sequence>
         <xsd:element ref="xsf2:commands" minOccurs="0" />
      </xsd:sequence>
      <xsd:attribute name="enabledTop" type="xsf:xdYesNo" use="optional" default="no" />
      <xsd:attribute name="enabledBottom" type="xsf:xdYesNo" use="optional" default="no" />
      <xsd:anyAttribute  processContents="skip" />
   </xsd:complexType>
</xsd:element>

Remarks

If the toolbar element is not present in the manifest.xsf, then the default InfoPath Forms Services toolbar is displayed when the form template is opened in a browser from a server running InfoPath Forms Services.

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.



Community Additions

ADD
Show:
© 2014 Microsoft