userRole Element
This element is the root element of the UserRole.xml file.
<userRole minimize="true|false" xmlns="http://schemas.microsoft.com/Dynamics/Mobile/2007/04/Flow" />
The following sections describe attributes, child elements, and parent elements.
Attributes
| Attribute | Description | |
|---|---|---|
|
|
Optional attribute. Specifies whether the application stops running or closes but remains running in device's system memory when the user exits the application.
| |
|
|
Required attribute. Declares the namespace for the XML file. The namespace is used to ensure that elements and attributes have a unique name. The value must be a URL reference. The URL is not read as a Web site. It is parsed as a text string. So it does not need to be a valid Web address. |
minimize Attribute
| Value | Description |
|---|---|
|
|
Stops the application when the user exits the application. |
|
|
Minimizes the application when the user exits the application. The application runs in device's system memory until it is stopped manually. This is the default setting if the attribute is not specified. |
Child Elements
| Element | Description | |
|---|---|---|
|
Contains | ||
|
Specifies the label for the soft key on the right.
| ||
|
Defines the orchestrations for the mobile application. An application can consist of one or more orchestrations. | ||
|
Defines the tasklets of the application. |
Parent Elements
None.
Reference
orchestrations ElementappSettings Element
Concepts
UserRole Schema Hierarchy StructureDefining Orchestrations in the UserRole
Defining Tasklets
Developing Mobile Application Solutions and Tasklets
Other Resources
Mobile UserRole Schema ReferenceMobile Orchestration
How to: Build a Mobile Application Using Orchestration
Working with Actions for Soft Keys and Menu Items
Developing Tasklets
Note