Changing HTML Links to Point to User-Defined Workspaces

You can customize workspaces and change the corresponding HTML link to point to the user-defined workspace.

  1. Open the Properties dialog of the browser view of the HTML navigation browser and determine the navigation category that the workspace link belongs to. The available navigation categories are:
    • Statistic_Navigation
    • Thread_Detail_Navigation
    • Thread_Summary_Navigation
  2. Search for the caption_NLS element that contains the name of the workspace link that you want to change. You have determined the workspace name in Step 1.
    <first_level_navigator>
    		<caption_EN_US>Thread Wait Events</caption_EN_US>
    		<caption_NLS>Thread Wait Events</caption_NLS>
    		<target_workspace_objectid>1013a039535:420</target_workspace_objectid>
    		<keep_symbols>true</keep_symbols>
    </first_level_navigator>
  3. Make the following changes: Set the caption_NLS to the name of your customized workspace that you have determined in Step 3. Set the target_workspace_objectid to the OBJECTID that you have determined in Step 4.
    Parameter details:
    1. caption_EN_US: Do not change the text in this node as it is important for the proper function of the HTML navigation.
    2. caption_NLS: This xml node contains the link caption.
    3. target_workspace_objectid: This xml node defines the target workspace for the HTML link. Set it to the OBJECTID determined in Step 3.
    4. keep_symbols: This parameter is important for context-sensitive navigation.
      keep_symbols set to 'true' specifies that there is context information that must be passed along when linking to the workspace.
      keep_symbols set to 'false' specifies that no context information that must be passed along when linking to the workspace.
      Do not change this parameter.
  4. XML files that are required for the HTML navigation in Tivoli Enterprise Portal are generated in this step. To generate these XML files, browse to the following directory:
    <ITM base directory>\CNB\classes\candle\kdp\resources\help\<language locale>\HTML_BrowserNavigation\V420
    where <ITM base directory> is the base directory of IBM Tivoli Monitoring.
  5. Run the HTML_Navigation_Generator.bat.
  6. Restart Tivoli Enterprise Portal.
  7. The old HTML link caption has changed to the caption of the new customized workspace. When clicking on that customized workspace HTML link, Tivoli Enterprise Portal links to this new workspace.

Exception paths

About this task

One exception path is that you enter a wrong OBJECTID into the XML file (see Step 5). This means that the identifier for the workspace that Tivoli Enterprise Portal should navigate to is wrong. The effect in Tivoli Enterprise Portal is that nothing happens when you click on that workspace link with the wrong OBJECTID in the HTML navigation view. There is no error message displayed on the Tivoli Enterprise Portal GUI, but Tivoli Enterprise Portal provides a trace log. You can navigate to the trace log using the Manage Tivoli Enterprise Monitoring Services dialog.

Results

In the trace log you find the following error messages that indicate the problem:

...
An error occurred requesting the workspace record for: REPORT, 117cae1a3ad
...
No workspace group was found for the given workspace type and id
At least one invalid parameter found, request has failed.
...

Here 117cae1a3ad is the wrong OBJECTID.

What to do next

You can correct the OBJECTID by either removing a typo or by determining the correct workspace ID of the new customized workspace (Step 3).