Configuring Siebel Business Applications > Configuring Menus, Toolbars, and Icons > Customizing Menus and Toolbars >
Adding a New Toolbar Icon to a Predefined Toolbar
You can add a new toolbar icon to a predefined toolbar. To add a new toolbar icon to a predefined toolbar
- In Siebel Tools, display the toolbar object type and all chill object types of the toolbar object.
For more information, see Displaying Object Types You Use to Configure Siebel CRM.
- Verify that the bitmap image you must use for the toolbar icon currently exists as a child bitmap of the Command Icons bitmap category.
If it does not exist, then create a bitmap in this bitmap category. For more information, see Overview of Customizing Icons in the Siebel Client. If it does exist, then note the name of the bitmap.
- Verify that the method that this toolbar icon calls currently exists.
- If the method that this toolbar icon calls does not exist, then do the following:
- Add a Siebel Visual Basic or Siebel eScript script to the PreInvokeMethod.
- Write an If or Case statement in the script that references MethodName. Write the instructions for that MethodName in the If or Case statement.
- Change the last line of PreInvokeMethod from ContinueOperation to CancelOperation.
- Create a new command object:
- In the Object Explorer, click Command.
- In the Commands list, add a new command.
- Define the required properties.
For more information, see Properties of a Command.
- In the Object Explorer, click Toolbar.
- In the Toolbars list, locate the toolbar to which you must add the new toolbar item.
- In the Object Explorer, expand the Toolbar tree, and then click Toolbar Item.
- In the Toolbar Items list, add a new toolbar item and then define the required properties.
You must use a button. You cannot use other types of elements, such as a combo box or label. For more information, see Properties of a Toolbar Item, and Article ID 517909.1 on My Oracle Support.
|