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:

  1. 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.
  2. Set the user property of the view to indicate that the view is a Siebel Task.
  3. 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:
    • Users cannot scroll on the applet, so the applet must fit in the display area of the target device.
    • Any fields that users can edit must be in a location that is not obscured when the SIP is displayed.
    • The only UI items that can appear in the bottom 20 pixels of the screen are the navigation buttons.
    • The navigation bar, menu bar, toolbar, and status bar on task applets are hidden. The applet must use the navigation buttons to control all navigation.

      For more information about form UI applets, see Configuring Form UI Applets for the Siebel Handheld Client.

  4. Add UI controls to the task applet.
  5. 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.

Siebel Consumer Goods Handheld Guide Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.