Creating Breadcrumbs

Provide users with hierarchical navigation by creating breadcrumbs. You can display a breadcrumb as a list of links or as a breadcrumb path.

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.

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.

    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.

Creating a Breadcrumb Manually

This section describes how to create breadcrumbs manually.

About Creating a Breadcrumb Manually

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

  1. Create the breadcrumb by running the Create/Edit Breadcrumb Wizard. You can access this wizard in two ways:
    • Go the Shared Component page and select Create Breadcrumb.
    • In Page Designer, select the Create menu and then Breadcrumb Region.
  2. Add entries to the breadcrumb.
  3. Add the breadcrumb to a page by creating a region.

Creating Breadcrumbs as Shared Components

To create breadcrumbs from the Shared Components page:

  1. On the Workspace home page, click the App 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.

Creating a Breadcrumb Region Using the Create Breadcrumb Wizard

To create a breadcrumb region in Page Designer:

  1. View the page in Page Designer.
    1. On the Workspace home page, click the App Builder icon.
    2. Select an application.
    3. Select a page.
    Page Designer appears.
  2. Locate the Page Designer Toolbar at the top of the page.
  3. On Page Designer Toolbar, click the Create menu and select Breadcrumb Region.

    The Create Breadcrumb Wizard appears.

  4. For Region Attributes:
    1. Region Title — Enter a title for the region.

    2. Region Template — Select a region template.

    3. Display Point — Identify the display point.

    4. Sequence — Specify the sequence for this component. 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 — Identify breadcrumb template.

    3. Click Next.

  6. For Breadcrumb Entry:
    1. Breadcrumb — Specify the label for this breadcrumb entry.

    2. Parent Entry— Select this breadcrumb entry's hierarchical parent..

    3. Click Next.

  7. Confirm your selections and click Finish.

Adding a Breadcrumb Region to a Page

To add a breadcrumb region to a page:

  1. View the page in Page Designer:
    1. On the Workspace home page, click the App Builder icon.
    2. Select an application.
    3. Select a page.
    Page Designer appears.

    Note:

    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. In the Gallery, click the Regions tab. Then, right-click Breadcrumb, select Add To, and select the appropriate location.

    Tip:

    You can also select the Breadcrumb region in the Gallery and drag it to the appropriate location in the Layout tab.

    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. To find a group or attribute:
    • Search for the group or attribute - Enter keywords in the Filter Properties field. The Property Editor displays the group or attributes. To return to the default display, delete the keywords.

    • Use Go to Group - Click Go to Group and select the group. To return the default display, click Go to Group again and select Expand All.

  4. In the Property Editor, edit the Breadcrumb attributes:

    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 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 to define the appearance and layout of this region. To learn more, click the Help tab in the central pane.
    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.

Adding Entries to a Breadcrumb

To add entries to a breadcrumb:

  1. Navigate to the Breadcrumbs page:
    1. Navigate to the Workspace home page.
    2. Click the App 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.

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.

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 App 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.

  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.

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 App 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.

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 App 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.

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 App 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.