Application Definition File
module Element
Application Definition File > application Element > modules Element : module Element
Description

Defines a module for M-Files application.

Namespace (none)
Diagram
file Element Sequence module Element
Overview
module 1..∞

Defines a module for M-Files application.

environment required Restriction of xs:string

Specifies the execution environment of the module.

name optional xs:string

Specifies the application module name.

engine optional xs:string

Specifies the physical execution engine for the application module.

event-priority optional xs:integer
Specifies the event handling priority for this dashboard.
enabled optional xs:boolean

Specifies if the application module is enabled or disabled.

Sequence
file 1..∞ xs:string

Specifies a source file for the application module.

Attributes
NameTypeUseDefaultFixedDescription
environmentRestriction of xs:stringrequired  

Specifies the execution environment of the module.

namexs:stringoptional  

Specifies the application module name.

enginexs:stringoptional  

Specifies the physical execution engine for the application module.

event-priorityxs:integeroptional  Specifies the event handling priority for this dashboard.
enabledxs:booleanoptional  

Specifies if the application module is enabled or disabled.

Source
<xs:element name="module" minOccurs="1" maxOccurs="unbounded" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="file" type="xs:string" minOccurs="1" maxOccurs="unbounded" />
    </xs:sequence>
    <xs:attribute name="environment" use="required">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="shellui" />
          <xs:enumeration value="vaultui" />
          <xs:enumeration value="vaultcore" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="name" type="xs:string" />
    <xs:attribute name="engine" type="xs:string" />
    <xs:attribute name="event-priority" type="xs:integer" />
    <xs:attribute name="enabled" type="xs:boolean" />
  </xs:complexType>
</xs:element>
See Also
modules Elementapplication ElementApplication Definition File