Navigation, Hierarchies & Entities

This article applies to versions 4.6.2 and later of P2 Explorer.

Overview

P2 Explorer provides several mechanisms by which you can navigate within a page:

  • Breadcrumbs allow you to navigate within a site's hierarchy.
  • Hyperlinks and Hotspots allow you to navigate to other pages, trends or external URLs.
    (Note that in versions 4.6.2 and later these components are sometimes just used to set page variables.)
  • The Hierarchy, Hierarchy Picker, and Entity Selector allows you to select an entity from a hierarchy.

Breadcrumb

The breadcrumb displays levels in a hierarchy, and is a useful navigation tool for pages that allows you to drill down into a hierarchy to discover further information about a selected entity. It displays the hierarchy path of the entity chosen on the page, such as one chosen from an entity selector. It also shows you where the selected entity sits within a hierarchy and provides another useful way to navigate around the site.

breadcrumbdetail

You can click on any level in the main breadcrumb trail to open a page that shows data relevant to that hierarchy level.

SEE IT IN ACTION! Watch this video to see how to the breadcrumb works.

 


Hyperlinks

A hyperlink is a piece of text on an Explorer page, that can be clicked. When clicked, it either opens another page, trend, or URL, or it updates page variables.

Hyperlinks provides a useful way to direct the navigational flow between various pages in P2 Explorer, and are also used for opening trends and external websites.

SEE IT IN ACTION! Watch this video to see what sort of things can be opened with a hyperlink.

 


Hotspot

The hotspot component is similar to the hyperlink. Unlike the hyperlink with its visible content, the hotspot is transparent and is used for overlaying images, text labels, and other components.

What does it look like? Because it is invisible, you will just see what is underneath, such as an image, or text. Usually this will give you a clue. When you hover over a hotspot, you will see a mouse cursor, as in this screenshot:

The area marked by the dashed green line marks the invisible borders of the hotspot.

Depending on how it is configured, a hotspot will open a page or a trend in an Explorer tab (either a new tab or the current one) or another site - either in an Explorer tab or in a new browser tab.

The hotspot can also be configured to map variables to the page or trend it is opening; often these are selections that you have made before clicking the hotspot.

SEE IT IN ACTION! Watch this video to see what happens when you click a hotspot that opens a new trend. This hotspot passes the selected Sample Method to the new trend.

 


Hierarchy Picker

The hierarchy picker is a simple drop-down list that displays all the available hierarchies, and lets you choose one.

hierarchypicker

When you select a hierarchy, the Explorer page refreshes to display only the elements from the chosen hierarchy.

For example, a Hierarchy Picker is often used in conjunction with a Hierarchy control (see next section).

hierarchy

 


Hierarchy

The Hierarchy is a tree-style representation of an entity hierarchy that allows Explorer users to browse and select one or more entities. If you've already read the article on Tag Search and Hierarchy Navigation provided on the ribbon, you may experience a sense of déjà vu. The Hierarchy is very similar to the Hierarchy Navigator available on the ribbon, except that in the Hierarchy Navigator, the Hierarchy is combined with the Hierarchy Picker.

hierarchydifferences

Differences between a Hierarchy, Hierarchy Picker, and Hierarchy Navigator

The Hierarchy is normally used by itself on a page if the page is only relevant to a specific hierarchy, and you only need to choose entities that are in that hierarchy.

SEE IT IN ACTION! Watch this video to see how choosing entities from the Hierarchy can change what is displayed on a page.

 


Entity Selector

The Entity Selector allows Explorer users to select one or more entities by searching for them by name, and optionally filtering them by a node in a hierarchy.

The page designer may decide to restrict entity selection from only one hierarchy, or may decide to only allow a specific number of entities to be selected.

You can use the entity selector in a variety of ways:

  • Start typing the name of an entity into the text box at the top. The list of entities will refresh as you type. When you find the entity you are looking for, click the check box in the list to select it.
  • Filter the list of entities by selecting a hierarchy from the drop-down list. The entities in that hierarchy will be displayed in the list. You can click the arrow to scroll through the list until you find the entity you are looking for.
  • Once you have selected a hierarchy, you can further filter by a node in the hierarchy. Start typing the name of the node in the text box next to the drop-down list. As you type, you will be presented with a list of matching nodes - select one of these to display the available entities.

Note: Prior to version 4.4.4, the Entity Selector had an arrow, instead of a scrollbar, that allowed you to page through the entities. The Clear Selection button was introduced in version 4.5.4.

SEE IT IN ACTION! Watch this video to see how to use the entity selector to change what is displayed on a chart. In this instance, the user is only allowed to select a maximum of 3 entities.

Comments are closed