Personalizing OA Framework Applications

As described in the Browser Look-And-Feel (BLAF) guidelines for branding on the Oracle Technology Network (OTN), every OA Framework page reserves the upper left-hand corner for one of the following:

All OA Framework pages must provide basic branding support. In-context branding may be used in cases where there is a specific need.

Basic (Non-Contextual) Branding

Basic branding includes the display of corporate (for example, "Oracle") and product brand names. It displays the product branding as text drawn from one of several possible sources. The global buttons are displayed as text links only. It supports a regular layout style, as in the following example.

Basic branding (corresponds to BLAF "Regular" layout)

Personalizing the Corporate Branding Image

Every page contains a corporateBranding page element that has an Oracle corporate image file assigned to it. That image file is /OA_MEDIA/FNDSSCORP.gif, which contains the Oracle corporate image. You can change the corporate branding image that appears on your pages in one of two ways:

Warning: Do not attempt to globally override the corporate branding image by renaming your custom corporate branding image file as /OA_MEDIA/FNDSSCORP.gif. This would result in distortion of your corporate image. When a page is rendered, OA Framework checks whether a value is set for the profile option Corporate Branding Image for Oracle Applications. If no value is set, it renders /OA_MEDIA/FNDSSCORP.gif as the corporate branding image and sets the image area size to 134 x 23 (which is the actual size of the image in FNDSSCORP.gif). If this profile option has a value set, it renders the content of the specified image file without specifying an image area size since the image size is as yet, unknown.

Personalizing Product Branding

The product branding is derived in one of three possible ways:

In-Context Branding

The in-context brand includes the corporate and product brand images. Additionally, contextual information renders below the corporate and product information, as shown in the following example.

Example of In-Context Branding

Note: This style of branding is intended to be used only for cases where the user makes a contextual selection when starting work that remains unchanged for the life of the application or task.

To personalize in-context branding, create an administrative-level personalization for the page that sets the Text property on the productBranding: formattedText page element to the product name you want to display. Then set the Text property on the inContextBranding: formattedText page element to the context you wish to display. For example, the Text property of the inContextBranding: formattedText page element displayed in the preceding example is "Customer Company A - North America".

Themes

A theme determines how Oracle Application Framework pages will look. You can choose a shipped theme or create your own using the Theme Editor feature.

Introduced in Release 12.2.7, the Theme Editor for Oracle E-Business Suite is a lightweight UI-driven tool that enables easy customization of OAF applications' look and feel.

The Theme Editor reduces the personalization skills and efforts needed to customize the look and feel of Oracle E-Business Suite. For example, users with little or no knowledge of cascading style sheets (CSS) will still be able to create and edit themes that suit the needs of their specific installations. A further benefit of the Theme Editor is that customized themes created using it can be applied on-the-fly, without requiring a restart of the application services.

To use the Theme Editor, you must have the Functional Administrator responsibility.

Themes are reflected in pages built with Oracle Application Framework and also in pages built with other underlying technologies in the following products:

In the following products, pages use an underlying technology for which themes are not supported. Therefore, themes are not reflected in the following:

Customizable Properties

Themes in Oracle E-Business Suite can be used to specify the following properties for a page, to provide a distinctive theme:

The following figure illustrates examples of where the properties can be applied:

Examples of Elements Using Customizable Theme Properties

  1. Page border color
  2. Global Header and Footer text color
  3. Link text color
  4. Global Header icon color
  5. Text color
  6. Button background color and button text color

Note that themes you create in this way do not affect the following page elements:

Accessing the Themes Pages

  1. Log in as a user with the Functional Administrator responsibility.
  2. Navigate to Functional Administrator > Home.
  3. Navigate to Personalization > Themes.

Searching for Themes

You can search by Theme Name or Source. For Source, the options are Oracle (shipped with Oracle E-Business Suite), Custom (customer-created), or All (leave the field blank).

Themes Search with Oracle Source

Previewing a Custom or Oracle Theme

To preview an existing theme, click the Preview icon for the theme.

Creating and Editing a Custom Theme

Create Theme Page

To create a new theme:

  1. Select the Create Theme button.
  2. Enter a Theme Name and optional description for your theme.
  3. Choose colors for page properties using the color picker. If you have the profile FND: Enable JET ColorPicker set to Yes (the default), the advanced color picker is shown. If it is set to No , then the classic color palette is used. With the advanced JET color picker, you can:

You can also enter a color hex code directly into a field.

Choose colors for the following properties:

Note that if you leave a field blank, the Alta color scheme is used for that field.

To implement your new theme, activate it as described below.

Updating a Custom Theme

From the results table on the Themes page, click the Update icon for the theme you wish to update. You can then make your updates in the Edit Theme page.

Duplicating a Custom or Oracle Theme

From the results table on the Themes page, click the Duplicate icon for the theme you wish to copy. The Create Theme page will display from which you can edit the copy of the original theme.

Deleting an Existing Custom Theme

Click the Delete icon for the theme you wish to delete. Deleting an active theme restores the default Alta Look-and-Feel.

Note: You cannot delete the Oracle seeded themes.

Activating a Custom or Oracle Theme

To activate a theme for your instance, select the theme name and click the Activate Theme button. A flag icon will appear next to the theme name.

Activated Dark Gray Theme with Flag Indicator

Oracle Application Framework application pages will then apply this theme's styles.

Note: Refer to the overview of this section for a list of exceptions.

The theme name will be saved in profile FND: User Theme (FND_USER_THEME). This profile value can also be set at the site, application, responsibility, or user level, as described below.

Deactivating a Custom or Oracle Theme

To deactivate a theme, use the Deactivate Theme button. The default Alta Look-and-Feel is restored.

Setting a Theme at the Site, Application, Responsibility, or User Level

While you can activate a theme to be the default for Oracle Application Framework pages using the Themes page, you can also choose to override this choice on the site, application, responsibility, or user level using the FND: User Theme (FND_USER_THEME) profile.

Also, users can view and update this profile, so they can select which pre-defined themes to use.

For example, a user can:

  1. Navigate to the Personal Profiles window.
  2. Query the profile name 'FND: User Theme'.
  3. Set the user value to 'Bright Blue Theme'.
  4. Save the changes.

Note that for the user to see the updated theme, the profile option cache must be cleared by a system administrator. To do this, navigate to the Functional Administrator (seeded responsibility) > Core Services > Caching Framework, select the cache object 'PROFILE_OPTION_VALUE_CACHE' , and click the Clear Cache button.

After the profile option cache is cleared, the user can log in and see the new theme.

Ready-to-Use Themes

Oracle E-Business Suite includes the following ready-to-use themes:

If the capabilities offered by the Theme Editor are insufficient for all your needs, you can customize more extensively using the Customizing Look-and-Feel (CLAF) feature, as described in the next section.

Customizing Look-and-Feel (CLAF)

Oracle E-Business Suite applications are currently shipped with Oracle's corporate Browser Look-and-Feel (BLAF), which supplies a rich set of components for web-based applications. Although OA Personalization Framework provides you with the ability to change the look of a page by changing user interface (UI) component properties, adding UI components, and so on, it does not allow you to create and apply an entirely new Look-and-Feel to an application.

The Customizing Look-and-Feel (CLAF) feature addresses this issue by providing a self-service based UI to modify the Look-and-Feel of an application. The feature enhances OA Personalization Framework by allowing personalization administrators to:

UIX currently provides OA Framework with the following LAFs, which can be used directly in web applications:

You can build custom LAFs by extending Base LAF, Simple LAF, or another custom LAF.

Note: You cannot extend BLAF or MLAF.

Infrastructure of a Look-and-Feel

A Look-and-Feel is defined by three major components: style sheets (XSS), icons, and renderers.

Style Sheets

A style sheet document (.xss extension) lists the styles for the Look-and-Feel. Styles control the color and font of HTML components. For a complete discussion of style sheets and styles, please refer to the Style Sheets topic in this chapter. Style sheets are located in /OA_HTML/cabo/styles.

See also the list of global styles provided by UIX later in this chapter.

Icons

Some web beans are composed of one or more icons that control the web bean's Look-and-Feel. Icons are identified by a name. For example, the Hide/Show web bean consists of the "disclosed" icon. Icons are present in the LAF configuration file. For additional information, refer to the Icons topic in this chapter.

Renderers

A renderer controls how a web bean lays out its children and generates HTML. If the layout of the LAF you wish to create is different from the standard layout provided by Oracle, you will have to write new renderers for those components that differ in their layout. You define renderers declaratively as templates (.uit extension). Following is an example template definition for a sidebar component:

You should have one template renderer for each component that has a custom layout. The section between the and tags contains the desired UI layout and any references to other UI components. The UI layout is represented in uiXML and HTML.

Important: You can use a template renderer to customize the layout of some - but not all - components. Following is a list of the components with customizable layouts:

Look-and-Feel Extension (Custom Skins)

When you define a new Look-and-Feel, you can also alter the layout of its inherited Look-and-Feel, thereby creating what is called a custom skin. To complete the creation of a custom skin, you must register any custom renderers, custom facet renders, and custom icons for that skin, on your custom Look-and-Feel using the Customizing Look-and-Feel UI.

Note: A facet is an optimized variation of a LAF, usually created for a specific output medium. For example, a printable version of a page can be implemented as a facet by excluding superfluous navigation and personalization controls that are not necessary for printed output.

The following code is an example of content in a LAF extension XML that defines a new skin. This example represents a LAF identified by a family called customlaf . Since it extends the simple.desktop LAF, it inherits all the styles from the UIX Simple Look-and-Feel (SLAF). This custom LAF overrides the renderer for page layout by providing its own template-based renderer for page layout. It also provides a custom printable facet page layout renderer (which is initiated to render the page when you run the page in printable page mode) and some custom icons.

Customizing Look-and-Feel (CLAF) User Interface

The Customizing Look-and-Feel feature provides a self-service user interface that allows you to create a new Look-and-Feel, as well as update an existing Look-and-Feel. It does not, however, provide a user interface to create custom template renderers. You must first create/write any custom template renderers that you require before you can create the look and feel.

Prerequisites

Important: To ensure that your template renderer registers properly, make sure the new LAF you create has the same LAF name as the folder you created in the second step.

To update an already registered template renderer, first replace the old .uit file with your new modified version of the .uit file. Next, proceed to the Accessing the CLAF UI and Updating a LAF sections. Make sure you replace .uit in the appropriate folder.

Accessing the CLAF UI

The Customizing Look-and-Feel user interface can be accessed in one of two ways: