Configuring Siebel eBusiness Applications > Configuring Toolbars and Menus >

Creating Command Objects


A command object definition specifies which invoke method is called when a toolbar icon, application-level menu item, or applet menu item is associated with the command is executed. It also specifies which bitmap appears on the toolbar icon for the toolbar items. Command object definitions are referenced by Toolbar Item, Menu Item, or Applet Method Menu Item object definitions.

NOTE:  The target property for the command object, displays six values in the picklist. The only valid values are Browser and Server. These values are the only options when you use the Command Wizard to create a new command object.

To create command objects using the Command Object wizard

  1. Choose File > New Object.

    The New Object dialog box appears.

  2. Click the Command object icon.

    The Command dialog box appears.

    Click for full size image
  3. In the Command dialog box, do the following:
    • Enter the project.
    • Enter a unique name for the command object.
    • Select whether you want the Method invoked by the command to be handled by the browser or the server.
    • Click Next.
  4. In the next dialog box, do the following:
    • Select the object that will handle the command. If the command is to be handled by a business service, specify the business service from the drop-down list. You must know whether the selected business service is available for your choice of browser/server.
    • Enter the Method to be invoked by the command. Specify the method to be invoked by the command. You are responsible for choosing a method that is available for the business service or application chosen.
    • You can provide the argument to be passed to the method (this is optional). The argument must be correct for the chosen method.
    • Click Next.
      Click for full size image
  5. In the Window dimensions dialog box, do the following:
    • Specify if the command should be executed in a new browser window. If it should be, the window's height and width must be specified. Both these values must be valid integers.
    • Specify the HTML bitmap and the tooltip text to be shown on the toolbar button associated with the command (optional).
    • Click Next.
      Click for full size image
  6. In the Command dialog box that appears review your entries.
    Click for full size image
  7. If any corrections need to be made, click Back to return to the appropriate page on which the correction is to be made.

    If the properties are correct, click Finish to generate the command object.

Configuring Siebel eBusiness Applications