Oracle® Identity Manager Administrative and User Console Customization Guide Release 9.0 B25943-01 |
|
Previous |
Next |
This section describes how to customize the menus in the Oracle Identity Manager Administrative and User Console. To customize the menus in the Oracle Identity Manager Administrative and User Console:
Identify the menu group or item that you want to customize. Then obtain the class name of the menu group or item by using the Form Information form in the Oracle Identity Manager Design Console.
For example, the class name for the Request New Resources item on the My Resources menu is My Resources.Request New Resources. This name is stored in the database WIN
table. The corresponding menu item shows that the menu group code is My Resources and the menu item code is Request New Resources.
Open the xlWebAdmin.properties
file. The following table identifies the location of the xlWebAdmin.properties
file for each supported application server.
To modify a menu group, locate the property name for the menu group that you want to customize. Each menu group has a single property associated with it, which represents the display label.
The property name for the menu group display label has the form menuGroup.menu group code
with the spaces replaced by hyphens ( - ). So for a menu group with code My Resources, the property name is menuGroup.My-Resources
. Modify the value assigned to the property to the label you want to display.
To modify a menu item, locate the properties of the menu item you want to change. Each menu item has two properties associated with it: the menu item display label property and the menu item link property, which identifies the target page that opens when a menu item is selected.
The property name for a menu item display label has the form menuItem.menu group code.menu item code
with the spaces replaced by hyphens. This means that a menu item with the code Request-New-Resources
under a menu group with the code My-Resources
has a property name of menuItem.My-Resources.Request-New-Resources
. The menu item link property is in the form menuItem.menu group code.menu item code.link.
To create new menu items or groups, you must create the correct entries in the system using the Form Information form in the Oracle Identity Manager Design Console. Next, you must add the corresponding new properties mentioned in step 4. For each new menu group, one new property is required, and for each new menu item, two new properties are needed.
For example, suppose you want to add a new menu group with the code 'My Links' and two new menu items under it, with codes 'Favorites' and 'Non-Work Links'. You must create two new entries in the system using the 'Form Information' form in the Oracle Identity Manager Design Console with the class names 'My Links.Favorites' and 'My Links.Non-Work Links'. The class names you use can be anything, the instances here are just examples. The labels that are displayed do not depend on these names.
Then, you need to add the following properties to the xlWebAdmin.properties
file using the class names specified in step 5:
menuGroup.My-Links=My Links menuGroup.My-Links.Favorites=Favorites menuGroup.My-Links.Favorites.link=favorites.do?myfavorites menuGroup.My-Links.Non-Work-Links=Non-Work Links menuGroup.My-Links Non-Work-Links.link=nonworklinks.do?nonworklinks
Whatever values you give on the right-hand side of the properties will be the values displayed on the screen.
Keep in mind that in order to change the menu group or item names, only the xlWebAdmin.properties
file should be changed. No change is required to the database or code.