Skip Headers
Oracle® Fusion Applications Extensibility Guide
11g Release 1 (11.1.3)

Part Number E16691-04
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

3 Customizing Existing Pages

This chapter describes how administrative users can customize pages in Oracle Fusion applications at runtime using Page Composer.

This chapter includes the following sections:

3.1 About Customizing Existing Pages

The pages in Oracle Fusion applications provide content and functionality to users that enable them to complete their tasks (for example, learning about a product or service, keeping up with sales data, or submitting an order) as easily and efficiently as possible. Because different users have different needs, Oracle Fusion applications enable you to customize pages to fit those needs using Page Composer. End users can use Page Composer to personalize pages. For example, end users can reorganize content in dashboards to place the content they use most frequently at the top of the page. Administrative users can use Page Composer to customize pages in any layer of the application or to customize the UI shell template used by CRM applications—the template used for the base UI for all CRM application pages. For example, administrative users can add a logo or contact information to the header and footer of the application.

Most of what you do in Page Composer is perform actions on the objects, or components, on a page. Components are grouped together on the page into boxes to simplify management of related components. For example, you might group components relating to a particular project or to a particular subject. The grouped components are referred to as child components. Page Composer enables you to edit an individual child component or manage all the grouped child components at one time by editing the box containing the child components. For example, you might want all the related child components to have the same style (background color, font, and such) so that users can more easily see their relationship.

Figure 3-1 shows an application page as the user sees it. The components in the red outline are grouped together. Figure 3-2 shows the same application page in Page Composer, where you can see the dashed outline of the box containing the grouped components.

Figure 3-1 Components in an application page

Components in an application page

Figure 3-2 Components in Page Composer

Components in Page Composer

3.1.1 Page Composer User Interface Overview

Page Composer provides two views for working with page content:

  • Design view (Figure 3-3) provides a WYSIWYG rendering of the page and its content, where controls are directly selectable on each component. Design view is available in CRM and non-CRM applications.

    Figure 3-3 Page Composer's Design view

    Page Composer's Design view
  • Source view (Figure 3-4) provides a combined WYSIWYG and hierarchical rendering of page components for advanced users (such as developers or users with knowledge of ADF artifacts, JavaScript, and Expression Language (EL)). Source view is available for non-CRM applications and when editing the UI Shell template in CRM applications.

    Figure 3-4 Page Composer's Source view

    Page Composer's Source view

For more information, refer to the "Introducing Design View and Source View" section in Oracle Fusion Middleware User's Guide for Oracle WebCenter Spaces.

3.1.2 Effects of Editing Objects That Display on Multiple Pages

Sometimes objects are included on multiple pages. The effect of changing such an object depends on how the object is included on the page and whether you are working with a CRM or non-CRM application.

  • If you use Page Composer to make changes to an object that is displayed on multiple pages (and is not part of a shared task flow), only the object on the page you edit is affected.

  • If the object is part of a shared task flow, the change will affect the object on all pages that include the shared task flow, with one exception. If the shared task flow includes embedded logic that makes use of data from the page, the embedded logic might override the changes you make in Page Composer.

  • For CRM applications, you can change objects globally (on all pages that display the object) by editing them through CRM Application Composer, as described in Section 4.2, "Editing Objects."

3.1.3 What You Can Do with Pages at Runtime

Depending on your role, the type of page, and the type of application, you can perform different actions in Page Composer.

3.1.3.1 Non-Dashboard Pages in CRM Applications

Sales Administrators, Marketing Operations Managers, and Channel Managers can customize non-dashboard pages in the following ways:

3.1.3.2 Dashboard Pages in CRM Applications

Users can personalize their dashboard pages and administrators can customize site, internal/external, and job-role dashboard pages with the tasks mentioned in Section 3.1.3.1, "Non-Dashboard Pages in CRM Applications" and in the following additional ways:

3.1.3.3 Pages in Non-CRM Applications

Administrators can customize pages in non-CRM applications with the tasks mentioned in Section 3.1.3.1, "Non-Dashboard Pages in CRM Applications," Section 3.1.3.2, "Dashboard Pages in CRM Applications," and in the following additional ways:

3.1.3.4 UI Shell Template in CRM Applications

CRM application administrators can customize the UI Shell template used by all pages in the application. Refer to Section 3.4, "Editing the UI Shell Template Used by All Pages."

3.1.4 What You Cannot Do with Pages at Runtime

Business users cannot perform the following tasks in a runtime environment with Page Composer:

3.1.5 Before You Begin Customizing Existing Pages

Before you implement customizations in applications, you should be familiar with the Oracle Fusion application architecture that enables customization, as described in Chapter 1, "Customizing and Extending Oracle Fusion Applications." You should also understand the typical workflows for working with runtime customizations, as described in Chapter 2, "Understanding the Customization Development Lifecycle."

You will need to do the following before you can begin customizing existing pages:

  • Confirm the page is customizable.

    For CRM applications:

    • Any user can personalize Dashboard pages.

    • Sales Administrator, Marketing Operations Manager, and Channel Manager users can customize transactional pages (such as Edit).

    For non-CRM applications you can only customize pages if a developer has enabled customization for the page.

  • Optionally, set up a sandbox.

    Page Composer can use sandboxes to manage your customizations. For more information, refer to Section 2.2, "Using the Sandbox Manager."

  • Access Page Composer.

    • To access Page Composer, navigate to the page you want to edit, then, from the Administration menu in the global area of Oracle Fusion applications, choose Customize page_name Pages.

    • To customize existing pages, you will need the correct privileges. Contact your security administrator for details.

  • If you have more than one layer available for customization, when you open Page Composer, the UI displays the Layer Picker dialog (Figure 3-5), which you use to specify the layer that you want to edit and its customization context. In the Edit column, select the layer you want to edit. The layers that are selected in the Include column will inherit any changes you make to the layer you edit.

    Figure 3-5 Layer Picker Dialog

    Layer Picker Dialog

    For more information on customization layers, including selecting a layer and customization context, refer to Section 1.2, "Understanding Customization Layers."

3.2 Editing a Page in Page Composer

This section describes how to perform basic editorial tasks, such as editing page components, changing the layout of the page, and the like. The tasks available to you depend on your role, the type of page, and the type of application. For details, refer to Section 3.1.3, "What You Can Do with Pages at Runtime."

Note:

If the object you want to edit is included on multiple pages, refer to Section 3.1.2, "Effects of Editing Objects That Display on Multiple Pages," before editing the object.

Task: Add Components to a Page

To add components to a page, in Design view, click Add Content at the top of the container component to which you want to add the new component.

For non-CRM pages, you can also add components in Source view (where UI widgets are available). To add components in Source view, you select the container component, then, in the Source view toolbar, click Add Content.

In either mode (Design view or Source view), clicking Add Content opens the Resource Catalog, enabling you to select from a wide range of task flows, portlets, layout components, and other types of resources. For more information on adding components to a page, refer to the "Adding a Component to a Page" section in Oracle Fusion Middleware User's Guide for Oracle WebCenter Spaces.

Note:

If you want to display custom attributes, you may be able to use a flexfield that has been defined for the page. Flexfields are available for many pages in Oracle Fusion applications, except for the CRM applications. For more information, refer to Chapter 5, "Using Flexfields for Custom Attributes."

Task: Change the Layout of a Page

Page layout defines the number, placement, and orientation of content regions on a page. A page's initial layout style is selected when the page is created. Some style selections can be switched even after you have added content to the page. Other style selections, notably the Blog and Web Page page styles, do not support layout changes after creation.

To change the layout of a page, in Design view, click Change Layout. For more information, refer to the "Changing Everyone's Page Layout" section in Oracle Fusion Middleware User's Guide for Oracle WebCenter Spaces.

Task: Move Components on a Page

To move components on a page, in Design view, drag and drop the component.

For non-CRM pages, you can also cut and paste or drag and drop components in Source view, or you can access the Component Properties for the container component and rearrange the components on the Child Components tab. For more information, refer to the "Rearranging Child Components" section in Oracle Fusion Middleware User's Guide for Oracle WebCenter Spaces.

Task: Show and Hide Components on a Page

Note:

You can perform this task only on dashboard pages in CRM applications, on non-dashboard pages in CRM applications if you have the proper job role, or in non-CRM applications.

You can control whether to show or hide a component on a page. For example, you have a list of checkboxes, and if a user selects checkbox B, you want a button to display. You could set the Show Component property on the button to be an EL expression that says #{if checkboxB.selected = true}, meaning that if the selected value of checkbox B is "selected" then display the button.

There are two ways to hide a component—hide the individual component or hide the box containing the component.

To hide an individual component, click the Edit icon in the component header, click the Display Options tab, uncheck the Show Component box, and click OK. For more information, refer to the "Working with Component Display Options" section in Oracle Fusion Middleware User's Guide for Oracle WebCenter Spaces. You can instead, click the Edit icon on the containing box's toolbar, then, on the Child Components tab, uncheck the box next to the component you want to hide, and click OK. For more information, refer to the "Hiding and Showing Child Components" section in Oracle Fusion Middleware User's Guide for Oracle WebCenter Spaces.

To hide the box and all its child components, click the Edit icon in the box's header, click the Display Options tab, uncheck the Show Component box, and click OK. For more information, refer to the "Working with Component Display Options" section in Oracle Fusion Middleware User's Guide for Oracle WebCenter Spaces.

Task: Delete Components from a Page

Note:

You can perform this task only on dashboard pages in CRM applications, on non-dashboard pages in CRM applications if you have the proper job role, or in non-CRM applications.

WARNING:

Only delete a component if you are positive that no other components or processes are dependent on the component you delete. We strongly suggest you instead hide a component if you are unsure.

If you are sure no other components or processes are dependent on a component, you can delete the component from a page by clicking the Delete icon in the component header.

Note:

Some components might not be able to be deleted, such as mandatory or indexed fields or components that are installed as part of the Oracle Fusion applications.

If you delete a box, all of the child components—any components contained in the box—are also deleted. For more information, refer to the "Deleting Layout Components" section in Oracle Fusion Middleware User's Guide for Oracle WebCenter Spaces.

Task: Customize a Page Title

Note:

You can perform this task only in non-CRM applications.

The page title is specified in three places:

You must change all three entries to change the page title. To change the first two entries in Page Composer, follow the steps below. To change the navigator menu entry, refer to Chapter 6, "Customizing the Navigator Menu."

  1. If Source view is not already displayed, switch to Source view. From the View menu, select Source.

  2. In the Design region (at the bottom of the page), click the task list as shown in Figure 3-6.

    Figure 3-6 Selecting a Task List in the Design Region

    Selecting a task list in the design region
    Description of "Figure 3-6 Selecting a Task List in the Design Region"

  3. When asked to confirm that you want to edit the task flow, click Edit.

    This selects the task list entry in the Source region.

  4. In the Source region, click Edit Task Flow next to the task list as shown in Figure 3-7.

    Figure 3-7 Opening the Task Flow Editor

    Opening the task flow editor
    Description of "Figure 3-7 Opening the Task Flow Editor"

  5. Again, when asked to confirm that you want to edit the task flow, click Edit.

  6. In the Source region, right-click the panelFormLayout node, and select Edit as shown in Figure 3-8.

    Figure 3-8 Editing the panelFormLayout Node

    Editing the panelFormLayout node
    Description of "Figure 3-8 Editing the panelFormLayout Node"

    The Component Properties dialog for panelFormLayout is displayed.

  7. On the Tasks List Properties tab, in the Page Title box, type the title for the page, then click OK to save your changes and close the Component Properties dialog.

  8. Click the Tasks List Task Properties tab.

  9. Expand the tree to display the items in the tasklist as shown in Figure 3-9.

    Figure 3-9 Component Properties — Tasks List Task Properties Tasklist Items

    Task list items in Tasks List Task Properties tab
    Description of "Figure 3-9 Component Properties — Tasks List Task Properties Tasklist Items"

  10. In the tree hierarchy, click the first child item ("Tasks" in Figure 3-9), then click the Edit icon in the toolbar.

  11. In the Label box, type the title for the page, then click OK to save your changes and close the Component Properties dialog.

Task: Customize a Tasklist Menu

Note:

You can perform this task only in non-CRM applications.

Task lists enable you to provide links to task flows in your application or Web pages outside your application. For example, you can add links to frequently used task flows, so that users can quickly perform the most common tasks.

Notes:

Task lists can be customized only at the site level.

  1. If Source view is not already displayed, switch to Source view. From the View menu, select Source.

  2. In the Design region (at the bottom of the page), click the task list as shown in Figure 3-10.

    Figure 3-10 Selecting a Task List in the Design Region

    Selecting a task list in the design region
    Description of "Figure 3-10 Selecting a Task List in the Design Region"

  3. When asked to confirm that you want to edit the task flow, click Edit.

    This selects the task list entry in the Source region.

  4. In the Source region, click Edit Task Flow next to the task list as shown in Figure 3-11.

    Figure 3-11 Opening the Task Flow Editor

    Opening the task flow editor
    Description of "Figure 3-11 Opening the Task Flow Editor"

  5. Again, when asked to confirm that you want to edit the task flow, click Edit.

  6. In the Source region, right-click the panelFormLayout node, and select Edit as shown in Figure 3-12.

    Figure 3-12 Editing the panelFormLayout Node

    Editing the panelFormLayout node
    Description of "Figure 3-12 Editing the panelFormLayout Node"

    The Component Properties dialog for panelFormLayout is displayed.

  7. Click the Tasks List Task Properties tab.

  8. Expand the tree to display the items in the tasklist, as shown in Figure 3-13.

    Figure 3-13 Component Properties — Tasks List Task Properties Tasklist Items

    Task list items in Tasks List Task Properties tab
    Description of "Figure 3-13 Component Properties — Tasks List Task Properties Tasklist Items"

  9. In the tree hierarchy, select an item and customize the tasklist by inserting a new item above, inserting a new item below, inserting a child item, or editing the current item by clicking the appropriate icon in the toolbar, as shown in Figure 3-14.

    Figure 3-14 Component Properties — Tasks List Task Properties Toolbar

    Toolbar on Tasks List Task Properties tab
    Description of "Figure 3-14 Component Properties — Tasks List Task Properties Toolbar"

  10. Enter or edit the following values:

    • Web Application: Use the dropdown list to select the target web application.

      This list contains web applications that are defined in the deployments tables.

      Caution:

      If you enter a value for Web Application then you must enter a value for Focus View Id.

    • Focus View Id: Enter the focusViewId of the target page. For example, /ServiceRequest.

      Caution:

      If you enter values for Web Application and Focus View Id, do not enter a value for Destination and vice versa.

    • Action: Enter the action that is taken when this item is selected by the user.

      Pages with actions are defined in the adfc-config.xml file, and these actions can navigate the user to a particular page. If you specify an action here, the Web Application and Focus View Id values are ignored. This Action attribute is used in an ADF Controller navigation.

    • Label: Enter the label name for this new item. This is the name that appears on the tasklist menu. This label name also appears on the Task tab when opened if the page's isDynamicTabNavigation="true".

    • Rendered: Select to display the item in the tasklist. Uncheck to hide the item.

      Note:

      When unchecked, the item is displayed in italics on the customization dialog. This allows you to identify items that are currently hidden from users.

    • Destination: Enter the full URL for this item, such as http://www.example.com.

      The Destination attribute is used for navigation outside of the Oracle Fusion Middleware UI Shell pages. It opens in a new window.

      Note:

      Destination takes precedence over any specified Web Application

    • Task Type: Choose the required task type for newly created items. Use the dropdown menu to select dynamicMain, defaultMain, defaultRegional, or taskCategory.

      Caution:

      The task type can be specified by the administrator for the newly inserted item nodes only. It cannot be updated for an existing item node.

      Figure 3-15 lists the properties that are applicable based on the task type of the currently edited item node.

      Figure 3-15 Tasks List Task Properties — Task Types

      Tasks List Task Properties - Task Type
  11. Click Apply to save your changes, then click OK to save your changes and close the Component Properties dialog.

Task: Customize Attributes for a Flexfield on a Page

Note:

You can perform this task only in non-CRM applications.

After you deploy an extensible or descriptive flexfield, you can use Page Composer to further control the custom attribute properties on a page-by-page basis. For example, you can hide some custom attributes or reorder how they appear on the page.

Note:

For information on flexfields, refer to Chapter 5, "Using Flexfields for Custom Attributes."

To customize flexfield values, edit the page in Source view. In Source view, navigate through the tree and expand the flexfield component (for example descriptiveFlexfield) to refer to the custom attributes. Click the flexfield component to display the Component Properties dialog box, where you can edit the values for the attributes.

Task: Customize Popup Content

Note:

You can perform this task only in non-CRM applications.

You can use Page Composer to customize the content in popup dialogs.

  1. If Source view is not already displayed, switch to Source view. From the View menu, select Source.

  2. Select the button that brings up the popup dialog.

  3. Open the properties for the popup dialog.

  4. Click the Child Components tab in the Component Properties dialog.

  5. Edit the popup content.

  6. Click Apply to save your changes, then click OK to save your changes and close the Component Properties dialog.

3.3 Editing Component Properties in Page Composer

Note:

You can perform these tasks only in non-CRM applications.

Components, such as task flows, portlets, documents, and layout components, carry with them a set of configurable properties that control the appearance and behavior of a particular component instance.

To edit component properties:

  1. In Design view, click the Edit icon in the component header.

  2. Click the appropriate tab in the Component Properties dialog.

  3. Edit the properties.

  4. Click Apply to save your changes, then click OK to save your changes and close the Component Properties dialog.

Note:

If the object you want to edit is included on multiple pages, refer to Section 3.1.2, "Effects of Editing Objects That Display on Multiple Pages," before editing the object.

For more information, refer to the "Setting Properties on Page Components" section in Oracle Fusion Middleware User's Guide for Oracle WebCenter Spaces.

Task: Edit Component Header and Other Display Options

Typically, the Display Options tab presents settings that affect the display elements surrounding component content (that is, its chrome). Chrome includes the header, the Actions menu, Expand and Collapse icons, and the like. For example, use the display options on a task flow to hide or show a header, change the text in the header, enable or disable menus, show a tooltip for the component, and other options. Use the display options on an Image layout component to specify the image source URL and its optional link target. For more information, refer to the "Working with Component Display Options" section in Oracle Fusion Middleware User's Guide for Oracle WebCenter Spaces.

Task: Edit Component and Content Style

Style and Content Style properties provide an opportunity to fine-tune your application look-and-feel at the component level. You can specify color, style, and margin settings on the selected component instance. For more information, refer to the "Working with Style and Content Style Properties" section in Oracle Fusion Middleware User's Guide for Oracle WebCenter Spaces.

Task: Edit Component Parameters

Component parameters are settings, unique to the component type, that can control such things as the source of the component's content. Component parameters vary from component to component. For example, on some components they provide the opportunity to specify the source of task flow content; on other components they present read-only, application-generated identifiers that are used in maintaining a task flow instance's association with its customizations. For more information, refer to the "Working with Component Parameters" section in Oracle Fusion Middleware User's Guide for Oracle WebCenter Spaces.

Task: Reset a Page or Task Flow to a Previously Saved Version

Page Composer provides controls for resetting a page or task flow to a previously-saved version or to its original out-of-the-box state.

The Reset Page button is available on the page in both Design view and Source view. For more information, refer to the "Reset Page" section in Oracle Fusion Middleware Developer's Guide for Oracle WebCenter.

The Reset Task Flow button on the Source view toolbar is rendered only when editing a task flow. For more information, refer to the "Reset Task Flow" section in Oracle Fusion Middleware Developer's Guide for Oracle WebCenter.

Task: Allow Certain Component Property Values to be Persisted Across Sessions

Certain attribute values of ADF Faces components can be persisted for end users. For example, on the column component, an end user can change the width of a column, and that width will still be in effect when the user logs back into the application. For information about which component properties can be persisted, refer to the "Introduction to Allowing User Customizations" section in Oracle Fusion Middleware Fusion Developer's Guide for Oracle Application Development Framework.

To make a property persistable, list that property as a value for the persist parameter, using the procedures in the "Working with Style and Content Style Properties" section in Oracle Fusion Middleware User's Guide for Oracle WebCenter Spaces.

For more information about user personalization of components, refer to Section 17.3, "Configuring End User Personalization for Components."

3.4 Editing the UI Shell Template Used by All Pages

If you are customizing a CRM application, you can use Page Composer to edit the UI Shell template used by all pages in the application. If you are customizing a non-CRM application, you need to use JDeveloper. For more information, refer to Section 11.10, "Editing the UI Shell Template," or the "Introduction to Implementing the UI Shell" section in Oracle Fusion Applications Developer's Guide.

Note:

You can also customize the Oracle Fusion Applications skin (for both CRM and non-CRM applications) as described in Chapter 19, "Customizing the Oracle Fusion Applications Skin."

You edit the UI Shell template in Source view. (Source view is available in CRM applications only for the UI Shell template.) The only customizable parts are in the global area (as shown in Figure 3-16) and a footer panel. Components can be added to any of these areas using the task flow.

Figure 3-16 UI Shell Template — Global Area

UIShell Template - Global Area

Task: Customize the UI Shell Template

  1. Open the UI Shell Template task flow, as shown in Figure 3-17.

    Figure 3-17 Edit UI Shell Template

    Edit UIShell Template
  2. Add or edit components to the left or central portion of the global area (the header area that contains the logo). For example, you can brand your application with your company logo.

    You can also add a new component to the footer panel. For example, you can add company contact information. The footer panel is visible in edit mode even if no footer component has been added.

    Note:

    If you need to do further customization, you can do with JDeveloper.

Task: Add a Component to the Global Area or the Footer

  1. Select the portion of the global area to which you want to add a component, or select the footer, and click Add Content to open the component catalog.

  2. Select ADF Faces Components to display the list of available components, as shown in Figure 3-18.

    Figure 3-18 ADF Faces Components Catalog

    ADF Faces Components Catalog
  3. Choose the component that you want to add and click the associated Add icon.

    The component is now displayed in the global area. You can now edit the component. For example, if you added the Text component, you can enter the text that you want displayed.

3.5 Editing Pages in Oracle JDeveloper After Using Page Composer

Using Page Composer, you can implement a variety of customizations on an application's pages. Pages that were created or customized in JDeveloper are further customizable in Page Composer, and page customizations that were implemented in Page Composer can be viewed in JDeveloper.

To view Page Composer customizations in JDeveloper, and potentially further customize the pages, you will need to export the customizations from the runtime environment and import them into the JDeveloper customization workspace. For more information, refer to the "Viewing ADF Library Runtime Customizations from Exported JARs" section in Oracle Fusion Middleware Fusion Developer's Guide for Oracle Application Development Framework.

It is important to note that you cannot customize a given artifact at the same layer in both JDeveloper and Page Composer. You can, however, customize a given artifact in both tools provided the customizations are made at different layers. At run time, the tip layer customizations take precedence. For example, if you customize the label for a field in the site layer using Page Composer and customize the same label in the global layer using JDeveloper, the site layer customization will be displayed at run time.