Defining a Wizard
A wizard is an orchestration that leads the mobile user through a sequence of tasklets in a specific order. The user can navigate back and forth through the wizard tasklets, without losing any data input. The wizard can be configured to send data in a request document to the business application for processing when the user completes the last step.
Users typically use a wizard to accomplish a specific business activity, like placing an order or creating a customer.
Note |
|---|
|
The sample application available with Microsoft Dynamics Mobile includes a wizard for creating a customer. See the sample application's UserRole.xml file for details. |
Basic Procedure to Create a Wizard
The general tasks involved in setting up a wizard include:
-
Defining the tasklets of the wizard.
-
Defining the steps in the wizard. Each step is defined by a tasklet.
-
Defining the navigation between wizard steps.
-
Setting up an action that cancels and exits the wizard.
-
Setting up an action that finishes the wizard.
For details on these tasks, see How to: Create a Wizard.
Additional Procedures to Create a Wizard
Depending on your scenario, additional procedures include:
-
Transferring data between tasklets of the wizard.
Data entered in the tasklet of one wizard step might be needed as input to a tasklet in another wizard step.
-
Setting up the wizard to send a request document.
As a user moves through a wizard, tasklets collect data. To send data to the business solution for processing, you must define a request document for the wizard.
-
Requiring and validating user input on tasklets.
You can prevent the user from moving from one wizard step to the next until the user provides input. You can also verify that the input provided is valid.
Note