Siebel Pharma Handheld Guide > Developing Siebel Handheld Applications > Developing Tasks for Task UI in Siebel Handheld Applications >

Example of Creating a Task for Siebel Handheld Application


The following example is a simple task for Siebel Handheld applications that users can execute to take a simple order. This task creates three screens, as follows:

  • Select Product screen
  • Specify Quantity screen
  • Confirm Order screen

To create this task, perform the following steps:

  1. In Siebel Tools, create a normal view named OrderTaskView.
  2. Specify that the view is a task view, that is, set the TaskUI user property, as follows:

    TaskUI="TRUE"

    For more information about this user property, see TaskUI User Property.

  3. Create three applets on the view with the following names:
    • OrderTaskProduct
    • OrderTaskQuantity
    • OrderTaskSummary
  4. For each applet, set the user properties as described in the following table:
    User Property
    OrderTaskProduct
    OrderTaskQuantity
    OrderTaskSummary

    FormUI

    "True"

    "True"

    "True"

    TaskBtnMethod1

    "UndoRecord,GoBack"

    "UndoRecord,GoBack"

    "NewRecord,GotoApplet"

    TaskBtnBitmap1

    "Delete Record"

    "Delete Record"

    "More"

    TaskBtnMethod2

    "NewRecord"

    "GotoApplet"

    "GotoApplet"

    TaskBtnTarget2

    —

    "TASK1"

    "TASK2"

    TaskBtnBitmap2

    "New Record"

    "Go Back"

    "Go Back"

    TaskBtnMethod3

    "GotoApplet"

    "GotoApplet"

    "GoBack"

    TaskBtnTarget3

    "TASK2"

    "TASK3"

    —

    TaskBtnBitmap3

    "Go Forward"

    "Go Forward"

    "Goto Last"

  5. In Grid Layout Editor, add the required controls to each applet, and arrange the controls appropriately.

NOTE:  No data validation is performed in this simple Task UI.

Siebel Pharma Handheld Guide Copyright © 2007, Oracle. All rights reserved.