Siebel Consumer Goods Handheld Guide > Developing Siebel Handheld Applications > Developing Tasks for Task UI in Siebel Handheld Applications >
Creating a Task for Siebel Handheld Applications
To create a Siebel Handheld application task, perform the following steps:
- Create the task in Siebel Tools. A task for a Handheld application is implemented as a view which contains a series of task applets. You must create an applet for each screen.
- Set the user property of the view to indicate that the view is a Siebel Task.
- You create the applets as form UI applets; that is, with the FormUI property set to TRUE. The applets that you create must meet the following requirements:
- Add UI controls to the task applet.
- Add one, two, or three navigation buttons to the applets. Use frame methods to associate functionality with the buttons.
To add navigation buttons to an applet, you define the buttons in the user properties for the applet. For example, if you want to configure Back, Cancel, and OK buttons for an applet named OrderTaskProduct, add the following user property to the applet:
TaskNavigation="Back, Cancel, Ok(OrderTaskProduct)"
Note the following:
- A task applet does not automatically commit data when the user steps off the applet into another task applet in the same view. You must create the required code to ensure that the data is committed.
Alternatively, data is committed when the user steps off the view.
- To perform more complex processing in a task, you can write components that use the COM architecture. For example, if you want to implement data validation or a more sophisticated UI, write a component extension for the Handheld application.
For more information about how to write component extensions, see COM Extensibility.
|