Develop > Presentation layer > Customize IBM Sales Center > Controls
Determine the ID of a user interface element in an editor page or dialog
The purpose of this section is to show how to determine the ID of a user interface element in an editor page or dialog.
An important first step in most customization tasks is to determine what it is that to customize.
To facilitate locating the identifiers of a user interface element on an editor page or dialog in the IBM Sales Center client, a debugging option called widget hover logging has been added to the com.ibm.commerce.telesales.widgets plug-in. This debugging option prints out the ID of Sales Center UI widgets to the console when you hover over them, in the format <namespace>.<element ID>. The namespace for all default Sales Center UI widgets is com.ibm.commerce.telesales.ui.impl.
The namespace printed out in the console is not necessarily the plug-in fragment that the element ID is defined in.
To enable widget hover logging:
Procedure
- In the IBM Sales Center development environment, select Run ... from the Run menu.
- Expand Run-time Workbench and select Sales Center.
- Select the Tracing tab.
- Select the Enable tracing for the selected plug-ins check box. As a result of this change, when you select a plug-in in the left hand window, its tracing options are displayed in the right hand window and may be edited there.
- Select the com.ibm.commerce.telesales.widgets plug-in.
- Select the debug/widgetHoverLogging check box and the debug check box
Results
Once you have found the element ID, you can search on the ID in the IBM Sales Center user interface plug-ins.
Related concepts
Overview of customizing IBM Sales Center
IBM Sales Center development environment
Related tasks
Plan a customization to the IBM Sales Center
Import and searching in the IBM Sales Center user interface plug-ins
Move a user interface element between dialogs or editor pages