Configuring Siebel eBusiness Applications > Configuring Toolbars and Menus >

Adding a New Toolbar Icon to an Existing Toolbar


To add a new toolbar icon to an existing toolbar

  1. Verify that the bitmap image you want to use on the toolbar icon surface currently exists as a child bitmap object definition of the bitmap category object definition named Command Icons.

    If it does not exist, create a bitmap object definition in this bitmap category as described in About Displaying Images in the Siebel User Interface. If it does exist, note the name of the bitmap object definition.

  2. Verify that the method you want for this toolbar icon to invoke currently exists, or add a Siebel VB or eScript script to the application PreInvokeMethod.

    You need to write an If or Case statement based on MethodName and write the instructions for that MethodName within the If or Case statement.

    You also need to change the last line of PreInvokeMethod to CancelOperation (from ContinueOperation).

  3. Navigate to the Command object type in the Object Explorer, and add a new Command object definition in the Object List Editor. Specify the HTML bitmap to use in the Bitmap property, the method to invoke in the Method property, and other properties.
  4. Navigate to the Toolbar object definition to which the new Toolbar Item is to be added.
  5. In the Object Explorer, select the Toolbar Item object type.
  6. In the Object List Editor, add a new Toolbar Item object definition. Specify the name, the name of the Command object definition that supplies the bitmap and method, and the position number of the toolbar icon relative to the other toolbar icons appearing in the Toolbar Items list in the Object List Editor.
Configuring Siebel eBusiness Applications