Share via


commands Element

Contains command elements that specify which commands display on the toolbar when a form is opened in a browser from a server running InfoPath Form Services.

Usage

  
<commands />

Element Information

Element type xsd:complexType
Namespace xsf2

Elements and Attributes

Parent Elements

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

Child Elements

Element Description
command Specifies a command to display on the toolbar when a form is opened in a browser from a server running InfoPath Forms Services.

Attributes

None.

Definition

  
<xsd:element name="commands">
    <xsd:complexType>
       <xsd:sequence>
          <xsd:element ref="xsf2:command" maxOccurs="unbounded" minOccurs="0" />
       </xsd:sequence>
    </xsd:complexType>
</xsd:element>

Remarks

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.