Configuring Siebel Open UI > Customizing Siebel Open UI > Doing General Customization Tasks >
Customizing How Siebel Open UI Displays Error Messages
Prior to Siebel CRM release 8.1.1.13, Siebel Open UI used the ErrorObject method to display the error dialog box. This method calls a browser alert method that displays the dialog box as a browser notification. Beginning with Siebel CRM release 8.1.1.13, you can modify this configuration so that Siebel Open UI displays the notification in a status bar or in a custom dialog box. Siebel Open UI uses the following rendering files to display error messages:
- errorobjectrenderer.js. Displays an error alert or SWEAlert message.
- errorstatusbarrenderer.js. Displays an error message in a custom error status bar in the browser.
- errorpopuprenderer.js. Displays a custom dialog box that includes an error message.
Note the following:
For more information about configuring error messages in Siebel Open UI, see Configuring Error Messages for Disconnected Clients. To customize how Siebel Open UI displays error messages
- Optional. Modify the style that Siebel Open UI uses when it displays the error status bar.
If your customization uses the errorstatusbarrenderer.js file, then you can style the status bar by adding style rules for the siebui-statusbar class in a custom cascading style sheet and place it in following folder:
files\custom\my-style.css
You must add the style sheet to the manifest by following the steps outlined in Configuring Manifests.
- Configure the manifest. For more information about how to do this step, see Configuring Manifests:
- Log in to a Siebel client with administrative privileges.
- Navigate to the Administration - Application screen, and then the Manifest Files view.
- Add one of the following files, depending on your customization requirements:
custom/errorstatusbarrenderer.js custom/errorpopuprenderer.js
- Navigate to the Manifest Administration view.
- In the UI Objects list, specify the following object.
Table 5. Field |
Table 6. Value |
Type |
Application |
Usage Type |
Theme |
Name |
PLATFORM INDEPENDENT |
- In the Object Expression list, add the following subexpression.
|
|
Group Name |
Leave empty. |
Expression |
Desktop |
Level |
1 Siebel Open UI only uses the renderer whose level is set to 1. |
Operator |
Leave empty. |
Web Template Name |
Leave empty. |
- In the Files list, click Add.
- In the Files dialog box, click Query.
- In the Name field, enter the path and file name that you added in Step c:
files/custom/my-style.css
- Click Go.
- Test your work:
- Log out of, and then log back into the client.
- Do something that results in an error.
- Verify that the client displays an error message according to your modifications.
|