previous Element
Opens the tasklet of the previous designated step in a wizard as defined by the <wizardSteps> element.
For information about wizards, see Defining a Wizard in Microsoft Dynamics Mobile Orchestration Guide online.
<previous context="describe text" icon="image file" name="reference name" priority="priority number" text="menu label" validate="true|false" />
The following sections describe attributes, child elements, and parent elements.
Attributes
| Attribute | Description |
|---|---|
|
|
Optional attribute. Provides information about the text attribute value, such as a description and usage, or a maximum number of characters. Useful for translation and localization. This attribute has no effect on the application. |
|
|
Optional attribute. The full path and file name of a bitmap file that is associated with the action. You can develop tasklets to use this attribute as needed. |
|
|
Optional attribute. A unique reference name for the action. |
|
|
Optional attribute. A whole number to determine the location of the action on the soft keys and menu by comparing it with the priorities of other actions on the tasklet:
|
|
|
Required attribute. Specifies the label of the action on the soft key or menu of the tasklet user interface. |
|
|
Optional attribute.
For more information, see How to: Validate User Input to a Tasklet in Microsoft Dynamics Mobile Orchestration Guide online. |
Child Elements
| Element | Description |
|---|---|
|
Specifies state keys for tasklet output parameters that must have values before the action is enabled in the tasklet user interface. | |
|
Maps tasklet output parameter values to the input parameters of the tasklet in the previous wizard step. |
Parent Elements
| Element | Description |
|---|---|
|
Specifies the actions available from a tasklet or orchestration. Actions appear as menu items or soft keys. |
This example shows how to use the <previous> element in a wizard that creates a new customer.
<orchestration name="NewCustomerWizard" text="New Customer">
<wizardSteps>
<wizardStep tasklet="CustomerDetails" />
<wizardStep tasklet="CreditLimit" />
<wizardStep tasklet="ContactDetails" />
</wizardSteps>
<actions>
<exitOrchestration priority="-1" text="Cancel" submitRequestDocument="false" result="Cancel"/>
</actions>
<tasklets>
<tasklet name="CustomerDetails" text="Customer Details" type="CustomerDetailTasklet. CustomerDetailTasklet, CustomerDetailTasklet ">
<outputMappings>
<outputMapping propertyName="CustomerType" stateKey="CustomerType"/>
<outputMapping propertyName="CustomerName" stateKey="CustomerName"/>
</outputMappings>
<actions>
<next priority="2" text="Next" validate="true"/>
</actions>
</tasklet>
<tasklet name="CreditLimit" text="Credit Limit" type="CustomerCreditLimitDetailTasklet. CustomerCreditLimitDetailTasklet, CustomerCreditLimitDetailTasklet ">
<outputMappings>
<outputMapping propertyName="CreditLimit" stateKey="CreditLimit"/>
</outputMappings>
<inputMappings>
<inputMapping propertyName="CustomerType" stateKey="CustomerType"/>
<inputMapping propertyName="CustomerName" stateKey="CustomerName"/>
</inputMappings>
<actions>
<previous priority="1" text="Previous" />
<next priority="2" text="Next">
<constraints>
<required stateKey="CreditLimit"/>
</constraints>
</next>
</actions>
</tasklet>
<tasklet name="ContactDetails" text="Contact Details" type="CustomerContactDetailTasklet.CustomerContactDetailTasklet, CustomerContactDetailTasklet">
<inputMappings>
<inputMapping propertyName="CustomerName" stateKey="CustomerName"/>
</inputMappings>
<actions>
<previous priority="1" text="Previous"/>
<exitOrchestration priority="2" text="Finish" submitRequestDocument="true" result="OK"/>
</actions>
</tasklet>
</tasklets>
</orchestration>
Tasks
How to: Validate User Input to a TaskletReference
wizardSteps ElementwizardStep Element
next Element
orchestration Element
tasklets Element
inputMapping Element
outputMappings Element
Concepts
UserRole Schema Hierarchy StructureDefining a Wizard
Defining Orchestrations in the UserRole
Defining Tasklets
Arranging Actions on Soft Keys and Menu Items
Other Resources
Mobile OrchestrationWorking with Actions for Soft Keys and Menu Items