16.3 Creating Breadcrumbs

This section explains how to create and manage breadcrumbs. Breadcrumbs provide users with hierarchical navigation. A breadcrumb is a hierarchical list of links that display using templates. You can display a breadcrumb as a list of links or as a breadcrumb path.

16.3.1 What Are Breadcrumbs?

A breadcrumb is a hierarchical list of links that indicates where the user is within the application from a hierarchical perspective. Users can click a specific breadcrumb link to instantly view the page. You use breadcrumbs as a second level of navigation at the top of each page, complementing other user interface elements such as tabs and lists.

Description of bc_menu.png follows
Description of the illustration ''bc_menu.png''

16.3.2 Creating a Breadcrumb While Creating a Page

To create a breadcrumb while creating a page:

  1. Run the Create Page Wizard to add a new page. See "Managing Pages in a Database Application."

    During the wizard, a Breadcrumb option appears. The actual page on which this list displays depends upon the type of page you are creating.

  2. From the Breadcrumb list, select Breadcrumb or select an existing breadcrumb (if applicable).

  3. If you select Breadcrumb:

    1. Parent Entry - Select a parent page (if applicable) or select No parent entry.

    2. Entry Name - Enter a name for the breadcrumb.

  4. Follow the on-screen instructions.

16.3.3 Creating a Breadcrumb Manually

This section describes how to create breadcrumbs manually.

16.3.3.1 About Creating a Breadcrumb Manually

To create breadcrumbs manually, you must add a breadcrumb to each page in your application as follows:

16.3.3.2 Creating Breadcrumbs

This section describes the various way to create breadcrumbs.

16.3.3.2.1 Creating Breadcrumbs as Shared Components

To create breadcrumbs from the Shared Components page:

  1. On the Workspace home page, click the Application Builder icon.

  2. Select an application.

  3. On the Application home page, click Shared Components.

  4. Under Navigation, click Breadcrumbs.

    The Breadcrumbs page appears.

  5. Click Create Breadcrumb.

  6. Enter a name and click Create.

  7. Add breadcrumb entries. See "Adding Breadcrumb Entries."

16.3.3.2.2 Creating a Breadcrumb from Page Designer

To create a breadcrumb from Page Designer:

  1. View the page in Page Designer. See "Viewing a Page in Page Designer."

  2. On the Page Designer Toolbar, click the Create menu and select Shared Components.

  3. On Create Application Component, select Breadcrumb and click Next.

  4. In Breadcrumb name, enter a name for this breadcrumb and click Create.

  5. Once you create a named breadcrumb, you add breadcrumb entries. See "Adding Breadcrumb Entries."

16.3.3.2.3 Creating Breadcrumbs from Component View

To create breadcrumbs from a Component View:

  1. View the page in Component View. See "Viewing a Page in Component View."

  2. Click the Create menu and select Shared component.

  3. On Create Application Component, select Breadcrumb and click Next.

  4. In Breadcrumb name, enter a name for this breadcrumb and click Create.

  5. Once you create a named breadcrumb, you add breadcrumb entries.. See "Adding Breadcrumb Entries."

16.3.3.3 Adding Breadcrumb Entries

To add a breadcrumb entry:

  1. Navigate to the Breadcrumbs page:

    1. Navigate to the Workspace home page.

    2. Click the Application Builder icon.

    3. Select an application.

    4. Click Shared Components.

    5. Under Navigation, click Breadcrumbs.

      The Breadcrumbs page appears.

  2. Select a breadcrumb to which to add entries.

  3. Click Create Breadcrumb Entry.

  4. Under Breadcrumb, select the page where this breadcrumb entry displays.

  5. Under Entry:

    1. Sequence - Indicate the order in which breadcrumb entries appear. The sequence determines the order of evaluation.

    2. Parent Entry - Identify the parent of this entry. Any given breadcrumb should have only one root node, identified as an item with no parent ID.

    3. Short Name - Identify the short name of this breadcrumb entry. Both the short and long names can be referenced from the breadcrumb template.

    4. Long Name - Identify the long name of this breadcrumb entry. Both the short and long names can be referenced from the breadcrumb template.

  6. Under Target, specify the target location:

    1. Target is a - Select Page in this Application.

    2. Page - Specify the target page number.

      To reset pagination for that page, select reset pagination for this page.

    3. Request - Enter text for which you would like to set the built-in application item called REQUEST. This is also the item that is set with the name of a button that was clicked.

    4. Clear Cache - Enter the page numbers (separated by commas) for those pages for which you would like to clear the user's session state.

    5. To set session state (that is, give a listed item a value):

      • Set these items - Enter the list of application item names (separated by commas) for which you would like to set the session state (give the listed item a value).

      • With these values - Enter a comma delimited list of values for the items specified in Set these items. You can specify static values or substitution syntax (for example, &APP_ITEM_NAME.).

        You can specify static values or substitution syntax (for example, &APP_ITEM_NAME.). Note that item values passed to f?p= in the URL cannot contain a colon. Additionally, item values cannot contain commas unless you enclose the entire value in backslashes (for example, \1234,56\).

  7. For Conditions:

    1. Condition Type - Select a condition type from the list. This condition must be met in order for this component to be rendered or processed.

    2. Enter an expression in the fields provided.

  8. For Authorization, optionally select an authorization scheme. This authorization scheme must evaluate to TRUE in order for this component to be rendered or otherwise processed.

  9. For Configuration, select a build option for this component. Build options are predefined settings that determine whether or not components within an application are enabled.

  10. Click Create Breadcrumb Entry.

Repeat these procedures for each breadcrumb entry you create.

16.3.3.4 Adding Breadcrumb Regions

A region is an area on a page that serves as a container for content. Once you create a breadcrumb and a breadcrumb template, the next step is to create a region. Once you create a breadcrumb region, you can add a breadcrumb to a page.

See Also:

"Creating a New Template" and "Breadcrumb Templates" for information about changing menu display

16.3.3.4.1 Adding a Breadcrumb Region in Page Designer

To create a breadcrumb region in Page Designer:

  1. Navigate to the appropriate page in Page Designer. "Viewing a Page in Page Designer."

    Page Designer appears. Note the Gallery at the bottom of the page. Pass the cursor over a control or component to view a tooltip that describes it.

  2. From the Gallery, Regions, select Breacrumb drag it to the appropriate location in Grid Layout.

    Page Designer indicates what actions are required next.

    The Messages tab displays a red or yellow badge indicating messages you need to address. The Message tab displays two types of messages

    • Errors - Error messages display in red. Selecting an error message displays the associated attribute in red in the Property Editor. You must address errors before a page can be saved.

    • Warnings - Warning messages display in yellow. Selecting a warning message displays the associated attribute in yellow in the Property Editor. You must address errors before a page can be saved. Note you can save a page without addressing warning messages.

  3. View all attributes in the Property Editor. Select Show All from the Property Editor Menu.

    Required attributes display a red triangle in the upper left corner next above attribute label.

  4. Edit the appropriate attributes in the Property Editor.

    Tip:

    To learn more about an attribute, select the attribute in the Property Editor and click the Help tab in the center pane.
    1. Identification, Title - Enter a region title. The region title only displays when it is defined in the region template.

    2. Layout, Sequence - Enter the display sequence for this item. The sequence and other grid layout settings determine where this item is displayed in relation to other items within the region.

    3. Layout, Position - Select the template position used to display this region. The selections available are derived from the appropriate template positions defined within the current theme, for the page's user interface.

    4. Appearance, Template - Select a region template.

    5. Appearance, Item Display Position - Specify where page items display in relation to the main region content.

  5. Click Save.

Repeat these procedures for each page where you would like to add breadcrumb navigation.

16.3.3.4.2 Adding a Breadcrumb Region in Component View

To create a breadcrumb region in Component View:

  1. Navigate to the appropriate page. See "Viewing a Page in Component View."

  2. Under Regions, click the Create icon.

    The Create Region Wizard appears.

  3. For the region type, select Breadcrumb and click Next.

  4. For Breadcrumb Container Region:

    1. Region Title - Enter a title for this region.

    2. Region Template - Select a region template.

    3. Display Point - Select a Display Point.

      Regions are organized by position (or Display Point). To determine the appropriate region position, click the flashlight icon. A graphical representation appears.

    4. Sequence - Enter a number for the sequence. The sequence determines the order of evaluation.

    5. Click Next.

  5. For Breadcrumb:

    1. Breadcrumb - Select the breadcrumb to be associated with this region.

    2. Breadcrumb Template - Select a template.

    3. Click Next.

  6. Review the breadcrumb region information and click Next.

  7. Click Finish.

Repeat these procedures for each page where you would like to add breadcrumb navigation.

16.3.3.5 About Creating Dynamic Breadcrumbs

To give users more exact context, you can include session state in breadcrumbs, making your breadcrumbs dynamic. For example, suppose a page in your application displays a list of orders for a particular company and you want to include the following breadcrumb:

Home > Orders > Orders for ACME Inc

In this example, ACME Inc not only indicates the page a user is on but also the navigation path. The Application Express engine stores the value of ACME Inc. in session state.

To create this type of dynamic menu, you must include a reference to a session state item in the breadcrumb's short name or long name. For example:

&COMPANY_NAME.

16.3.4 Editing Breadcrumbs

Once you create a breadcrumb, you can edit it on the Breadcrumbs page.

To edit a breadcrumb:

  1. Navigate to the Breadcrumbs page:

    1. Navigate to the Workspace home page.

    2. Click the Application Builder icon.

    3. Select an application.

    4. On the Application home page, click Shared Components.

    5. Under Navigation, select Breadcrumbs.

      The Breadcrumbs page appears.

  2. Select a breadcrumb.

  3. Select a breadcrumb entry.

    The Create/Edit page appears.

  4. Edit the appropriate attributes.

    To learn more about a specific item, see field-level Help. See "Viewing Field-Level Help."

  5. (Optional) In the Breadcrumb Entry list on the right side of the page, you can select the Synchronize Breadcrumb With Page Name and Title option.

    Selecting this option makes changing the name of a page and breadcrumb a one-step process. The information you provide for breadcrumb names is used to update the referenced page name and title.

  6. Click Apply Changes.

16.3.5 Reparenting Breadcrumb Entries

You can select a new parent for selected breadcrumb entries on the Reparent Entries page.

To reparent breadcrumb entries:

  1. Navigate to the Breadcrumbs page:

    1. Navigate to the Workspace home page.

    2. Click the Application Builder icon.

    3. Select an application.

    4. On the Application home page, click Shared Components.

    5. Under Navigation, select Breadcrumbs.

      The Breadcrumbs page appears.

  2. Select a breadcrumb.

    The Entries page appears.

  3. From the Tasks list, click Reparent Entries within this Breadcrumb.

    The Reparent Entries page appears.

  4. Use the navigation bar to edit or filter the view:

    • Breadcrumb - Identify the breadcrumb you want to edit and click Go.

    • Start With - Make a selection to restrict your view to a subset of the breadcrumb hierarchy and click Go.

  5. From Reparent to, select the new parent.

  6. Select the breadcrumbs entries you want to move and click Reparent Checked Entries.

16.3.6 Deleting Unused Breadcrumb Entries

To delete unused breadcrumb entries:

  1. Navigate to the Breadcrumbs page:

    1. Navigate to the Workspace home page.

    2. Click the Application Builder icon.

    3. Select an application.

    4. On the Application home page, click Shared Components.

    5. Under Navigation, select Breadcrumbs.

      The Breadcrumbs page appears.

  2. Select a breadcrumb.

    The Breadcrumb Entries page appears.

  3. From the Tasks list, click Delete Unused Breadcrumb Entries.

    The Delete page appears.

  4. Select the entries to remove and click Delete Checked.

16.3.7 Accessing Breadcrumb Reports

You can view the Breadcrumb Hierarchy, Grid Edit Breadcrumb, Breadcrumb Exceptions, Breadcrumb Utilization and Breadcrumb History reports by clicking the appropriate tab at the top of the Breadcrumbs page.

Note:

These reports only appear after you create a breadcrumb.

To view Breadcrumb reports:

  1. Navigate to the Breadcrumbs page:

    1. Navigate to the Workspace home page.

    2. Click the Application Builder icon.

    3. Select an application.

    4. On the Application home page, click Shared Components.

    5. Under Navigation, select Breadcrumbs.

      The Breadcrumbs page appears.

  2. Click the appropriate tab:

    • Hierarchy - Click Hierarchy to view breadcrumbs by page and hierarchy. Click the page number to link to a page.

    • Grid Edit - Click Grid Edit to edit all breadcrumb names at once. Click the page number to link to a page.

    • Exceptions - Click Exceptions to view the Exceptions page.

    • Utilization

      Click Utilization to access the Breadcrumb Utilization report. This report lists breadcrumbs by page. Click the page number to go to a specific page.

    • History - Click History to view the Breadcrumb History report. This report lists recent changes to breadcrumbs.

You can change the appearance of the page by using the Search bar at the top of the page. See "Customizing Interactive Reports as an End User."