Oracle Application Server Discoverer Configuration Guide 10g (9.0.4) Part Number B10273-01 |
|
This chapter explains how you can provide a customized Discoverer Viewer look and feel to end users. For example, you might want to replace Discoverer Viewer's Oracle logo with a different organization logo, or change the user interface background color.
Note: Discoverer Viewer users can also configure the user interface themselves on a per-session basis by setting their own presentation options (for more information, see "About presentation options").
This chapter contains the following topics:
You can customize Discoverer Viewer in the following ways:
You customize Discoverer Viewer by changing values stored in the following types of industry standard files that Discoverer uses to configure the user interface.
If you have deployed Discoverer in a multiple machine installation, note the following:
To customize Discoverer Viewer, you need to edit text files on the Discoverer middle tier using one of the following:
Note: Dedicated XML editors are preferable because they make XML files easier to navigate and amend.
To help you customize Discoverer Viewer's look and feel, Discoverer is installed with a sample browser look and feel file (blaf.htm). For more information about the location of blaf.htm, see Section A.2, "List of Discoverer file locations".
The blaf.htm file displays the current look and feel settings for each display tag defined in the Discoverer Viewer cascading stylesheet (blaf.css). For more information about updating the blaf.css file, see Section 7.6, "About updating the Discoverer Viewer stylesheet file".
If you update the display tags in blaf.css, you can see changes reflected immediately in blaf.htm. You can use blaf.htm to find out which browser look and feel tags you need to change.
In the example below, the tag names in brackets or in the Tables section (e.g. OraHeader) are the display tags that you change in blaf.css.
Discoverer Viewer uses a stylesheet file called blaf.css to format the Discoverer Viewer user interface. Blaf.css contains tags for each component of the Discoverer Viewer user interface that you can customize. The figure below shows an example of a blaf.css file.
Key to figure:
To customize Discoverer Viewer, you change the value of the tags. For more information, see Section 7.11, "How to change the default Discoverer Viewer look and feel".
The Discoverer Viewer XML files contain tags for each component of the Discoverer Viewer user interface that you can configure (for more information, see "About presentation options"). The figure below shows an example of a ui_config.xml file.
Key to figure:
To update a tag, replace the 'state=' value with a new value. For example, to hide a user interface component, change its tag value from to 'true' to 'false'.
Note: The ui_config.xml file contains additional comments and tag labels to help you when making amendments. Comments are enclosed in the following tags: <!-- Comments -->.
Discoverer Viewer options are buttons on the Discoverer Viewer user interface that provide functionality to Discoverer Viewer users. For example, Presentation Options, Export. The screenshot below shows which Discoverer Viewer options you can display or remove when you customize Discoverer Viewer (i.e. Preferences, Rerun Query, Presentation Options, Export, and Printable Page).
For more information about customizing Discoverer Viewer by displaying or removing options, see Section 7.13, "How to change Discoverer Viewer options".
Presentation options define areas of the Discoverer Viewer user interface, such as headers, page areas, and footers. For example, in the worksheet area, you might not want to display worksheet headings or drill icons to Discoverer Viewer users.
In the figure above, Discoverer Viewer has been customized on a per-session basis by removing the Discoverer logo, page footer, and export option.
You can store presentation options in presentation templates and make them available to Discoverer end users (for more information, see Section 7.10, "About presentation templates").
Note: You can also remove Discoverer UI components by editing the ui_config.xml file (for more information, see Section 7.13, "How to change Discoverer Viewer options").
Presentation templates are sets of pre-defined presentation options that enable Discoverer Viewer users to customize the Discoverer Viewer user interface with a single click.
Note: Discoverer Viewer users can also set their own presentation options on a per-session basis using the Presentation Options page in Discoverer Viewer.
Key to figure:
You change the default Discoverer Viewer look and feel when you want to provide a customized Discoverer Viewer look and feel to end users. For example, you might want to change the background UI color or UI fonts.
To change the default Discoverer Viewer look and feel:
You can update any of the tag values in the blaf.css file.
For example, to change the paragraph style from black to blue, change the .OraBody{background-color:#000000} tag to .OraBody{background-color:#0000FF}
Hint: Display the blaf.htm file to preview changes that you make in the blaf.css file (for more information, see "About the sample browser look and feel file (blaf.htm)".
Hint: If you have an existing Discoverer Viewer session running, refresh the browser to update Discoverer Viewer with changes that you have made.
The look and feel changes that you made will be applied.
If you want consistent worksheet text styles and cell colors (i.e. all worksheets have the same cell color and text color), make sure that Discoverer Plus users format worksheet cells in the same way. For more information, see Oracle Application Server Discoverer Plus User's Guide.
You change the default Discoverer Viewer logo when you want to replace it with a logo or graphic of your choice. For example, you might want to replace the default Discoverer Viewer logo with an organization logo.
Note: If you change the Discoverer Viewer logo, the new logo is also displayed on the Connect to Discoverer Viewer page and the Connect to Discoverer Plus page (for more information, see Section 3.5, "About the Discoverer connections pages").
The screenshot below shows the default Discoverer logo (highlighted) that you can change.
To change the default Discoverer Viewer logo:
Note: If you have an existing Discoverer Viewer session running, refresh the browser to update Discoverer Viewer with changes that you have made.
The logo that you specified will appear in Discoverer Viewer.
The screenshot below shows an example of a Discoverer Viewer page where the default Discoverer logo has been replaced with an organization logo (highlighted).
You change Discoverer Viewer options when you want to deploy Discoverer Viewer with specific default options enforced for all end users. For example, if you do not want Discoverer Viewer users to set Presentation Options or Preferences, you remove the Presentation Options link and the Preferences link. For more information about Discoverer Viewer options, see Section 7.8, "About Discoverer Viewer options".
To change Discoverer Viewer Presentation Options:
For example:
Hint: Set the Presentation Options option itself to 'false' to prevent Discoverer Viewer users overriding which options are displayed, and enforces a consistent look and feel for all Discoverer end users.
You create a presentation template when you want to enable end users to configure the Discoverer Viewer user interface themselves using pre-defined presentation options. For more information about presentation options and presentation templates, see Section 7.9, "About presentation options" and Section 7.10, "About presentation templates".
The easiest way to create a presentation template is to cut and paste the Corporate Look template that is included in the ui_config.xml file, and edit the copy to suit your needs.
To create a presentation template:
You should now have two presentation templates, both called Corporate Look.
Note: If you are using a simple text editor, copy all of the text between the tags <look name="Corporate Look"> and the first </look> tag that follows. For example:
<look name="Corporate Look"> <!-- Logo--> <component name="log" state="false"/> etc. . . </look>
For example:
Note: To help you identify tags in the ui_config.xml file, each tag has a comment label that tells you which part of the Discoverer Viewer user interface the tag relates to.
If you have an existing Discoverer Viewer session running, refresh the browser to update Discoverer Viewer with changes that you have made.
Discoverer Viewer is updated with the presentation options that you have selected. Existing Discoverer browser sessions need to be refreshed to see the new presentation template(s) that you created.
The available Presentation templates are displayed at the right hand side of the page below the Uncheck All option.
For example, to apply a presentation option called Corporate Look, select the Corporate Look link.
|
![]() Copyright © 2003 Oracle Corporation. All Rights Reserved. |
|