Change the Siebel Error Render to Display as a Banner vs. Popup

Playing around with this a little and it’s actually super easy. Much easier than I expected. The steps are outlined in Siebel Bookshelf here: https://docs.oracle.com/cd/F26413_18/books/ConfigOpenUI/customizing-siebel-open-ui.html#customizing-siebel-open-ui

Make sure you scroll down to the section “Customizing How Siebel Open UI Displays Error Messages”

Here’s what you need to do:

  1. On your AI servers, copy the errorstatusbarrenderer.js file provided by Oracle in the ..\applicationcontainer_external\siebelwebroot\scripts\siebel\samples folder to your custom JS folder (..\applicationcontainer_external\siebelwebroot\scripts\siebel\custom)

  2. Next, login to the Siebel UI and navigate to Manifest Administration > Manifest Files

  3. Query for entry “siebel/custom/errorstatusbarrenderer.js”. If it doesn’t exist, create it.

  4. Next, navigate to Manifest Administration > Manifest Administration

  5. Query where:

    1. Type = Application

    2. Usage Type = Common

    3. Siebel Internal Read Only = N

    4. Name = PLATFORM DEPENDENT OR PLATFORM INDEPENDENT

  6. If a record doesn’t exist create one

  7. Find the correct Object Expression and associate the file: siebel/custom/errorstatusbarrenderer.js

Log out and log back in again. Then do something that should generate an error. You should see the error renderer display the error in a banner vs. a popup message and the new error renderer js file loading in the browser’s developer tools.

From here you can make additional customizations to change the look and feel of the banner (as we’ve done here) and add logic to the render to trap the messages that are being displayed and re-word them so they are more user friendly.



Next
Next

Insert HTML from a File into the DOM with jQuery