Intro

The dynamic page is the foundation for all pages in SAP Fiori. It is a generic layout control designed to support various floorplans and use cases. As a result, the content of both the header and the page can vary. Depending on your use case, you can either use one of the predefined floorplans or create your own layout.

The header of the dynamic page (1) is collapsible, which helps users to focus on the actual page content (2), while ensuring that important header information and actions are readily available. The dynamic page also includes an optional footer toolbar (3) for closing or finalizing actions that impact the whole page.

All SAP Fiori floorplans use the dynamic page, or are visually aligned to look the same. For detailed guidance, see the corresponding floorplan articles.

Floorplans that use the dynamic page:

You can also combine the dynamic page with the following floorplans. This replaces the snapping header feature.

When to Use

Use the dynamic page layout if:

Do not use the dynamic page layout if:

Dynamic Page vs. Semantic Page

The dynamic page is a skeleton structure that comes with empty content containers (page header, page content) and built-in responsive behavior.

This basic structure can be “filled” with content elements in three ways:

Components

Like all layouts, the dynamic page layout is below the shell bar of the SAP Fiori launchpad, which is always at the very top. The dynamic page layout consists of the following areas:

  1. Dynamic page header, comprising the the header title (1a) and the expandable/collapsible header content (1b)
  2. Title
  3. Subtitle/summary
  4. Key information / KPI
  5. Global actions
  6. Header features to collapse/expand (6a) and pin/unpin (6b) the header
  7. Page content (differs depending on the use case and floorplan)
  8. Footer toolbar with finalizing actions

Dynamic Page Header

Together, the header title (mandatory) and the header content (optional) form the dynamic page header.

Header Title

Dynamic page layout - Header title example

Dynamic page layout - Header title example

The header title bar (sap.f.DynamicPageTitle) always contains one of the following elements:

Mandatory Elements

Optional Elements

guideline
  • Do not remove or disable the actions within the global action toolbar when the header content is collapsed.
  • In the flexible column layout layout, ensure that the icons for the Close or Full Screen / Exit Full Screen actions always stay on the very right. Their position then remains stable, even if other layout actions are added (such as the paging buttons :icon-slim-arrow-up and :icon-slim-arrow-down). The Close and Full Screen / Exit Full Screen actions never move into the overflow.

Header Content

Dynamic page layout - Header content example

Dynamic page layout - Header content example

Located below the header title, the header content (sap.f.DynamicPageHeader) is optional. You can place any components in the header content area (1), provided that they follow the guidelines for the respective floorplan.

When the dynamic page header collapses, the header content is hidden. You can also hide the header content if it is empty. In the latter case, the header title is not interactive.

Header Features

Dynamic page layout - Header features

Dynamic page layout - Header features

The header features (3) allow users to expand and collapse the header content. They can control the visibility of header content using two icon buttons at bottom of the header content area:

  1. Expand/collapse header: :icon-slim-arrow-down or
  2. Pin/unpin header content::icon-pushpin-off

Dynamic page layout - Footer Toolbar

Dynamic page layout - Footer Toolbar

The footer toolbar (sap.m.Toolbar) is also an optional part of the dynamic page layout. You can use it to offer closing or finalizing actions.

Combination with the Flexible Column Layout

The dynamic page layout is responsive and optimized for use within a flexible column layout. Each column (1, 2, 3) can contain its own dynamic page layout with a different floorplan, depending on the use case.

Dynamic page layout inside the flexible column layout

Dynamic page layout inside the flexible column layout

Behavior and Interaction

Dynamic Page Header

The header content collapses or expands upon defined triggers (snap on scroll and snap on click) to show more of the actual page content.

Dynamic page layout - Snap on scroll

Dynamic page layout - Snap on scroll

Dynamic page layout - Snap on click

Dynamic page layout - Snap on click

Dynamic page layout - Pin/unpin

Dynamic page layout - Pin/unpin

Starting in expanded or collapsed mode

By default, the header content is initially expanded. Always expand the header content when starting the application if no query was fired (and the content area is therefore empty).

In certain cases, it can also make sense to deviate from the default and allow the header to appear in collapsed mode when initiating the app.

Snap on Scroll

Scrolling is the typical trigger for collapsing the header content. When the user scrolls down the page, the header content scrolls away. The header title switches to collapsed mode, and stays fixed. When the user scrolls up the page, the header content is expanded again.

Expand/Collapse Header Feature

The expand/collapse header feature is a small icon button directly below the header content that enables the user to expand or collapse the header content. When the pin is active, the expand/collapse header feature is still available and overrules the pin. The icon buttons for expanding and collapsing the header are an alternative to clicking in the header title area, which might not have much clickable space.

On smartphones, the header content scrolls away when the user scrolls up the page. If you have enabled the summary line, the header converts to a summary line when the arrow of the header reaches the header title. As a visual cue, an arrow icon :icon-slim-arrow-down then appears on the very right of the screen. Tapping the summary line expands the header. The rest of the page stays in the same position.

The expand/collapse header feature is not available if there is no header content.

Snap on Click

In addition to the “snap on scroll” function, the user can also expand and collapse the header content by clicking anywhere on the header title bar that has no active elements (such as links or active buttons).

On desktop devices, the cursor changes from an arrow to a hand to support the user’s interaction. If the header is expanded and user clicks on the title bar, the header content collapses, and vice versa.

Pinning the Header Content

Activating the pin feature keeps the header expanded while the user scrolls through the page content. This mode remains fixed until the user clicks or taps the pin icon again. This feature is optional and can be switched off if it is not useful for your application.

The expand/collapse header feature remains visible when the pin is activated. Clicking or tapping the Collapse Header icon overrules the pin and collapses the header.

The pin functionality is not available for floorplans without scrollbars (see special case below), or when there is no header container, such as in a copy and create scenario.

In the smartphone version, the pin action isn’t provided, as the pinned header would take up too much screen real estate.

Special Case: No Page Scrolling Possible

The following special case applies for pages containing desktop-centric tables, such as the analytical table, grid table, or tree table.

Because desktop-centric tables use up all of the available screen space, there is no scroll function, and hence no “snap on scroll” functionality. In this special case, a click interaction via the expand/collapse header feature is required to expand or collapse the content area. The Pin/Unpin action is obsolete and is not provided.

This exceptional case also applies to chart containers that use up all the available screen space in a similar way to desktop-centric tables.

Keyboard Interaction

The dynamic page header expands automatically as soon as keyboard actions like tabbing or group jumps (F6) bring the content of the dynamic page header into focus.

The dynamic page header collapses as soon as the keyboard focus leaves the dynamic page header content area.

<div> <div>Key(s)</div> <div>Behavior</div> </div> <div> <div>[TAB]</div> <div> <p>Move the focus to the dynamic page header – header title bar. The dynamic page header expands automatically.</p> <p>If the focus is inside the header content area, move the focus to the next UI element within the header.</p> <p>If the focus is on the last UI element (expand/collapse header feature) within the header content area, leave the header. Collapse the header content.</p> </div> </div> <div> <div>[SHIFT] + [TAB]</div> <div>See TAB, in reverse order.</div> </div> <div> <div>[F6]</div> <div> <p>If the focus is before the header title bar, set the focus to the header title bar. Expand the header content.</p> <p>If the focus is within the header content, move the focus out of header and collapse the header content.</p> </div> </div> <div> <div>[SHIFT] + [F6]</div> <div>See F6, in reverse order.</div> </div>

Responsiveness

The dynamic page layout offers considerable freedom and flexibility. In addition, the dynamic page header and the footer toolbar are designed to adapt automatically to small, medium, and large screen sizes.

The title (sap.m.Title) and subtitle (sap.m.Text) on the left truncate in collapsed mode and wrap in expanded mode. This behavior comes from the respective controls for the title and subtitle, and not from the dynamic page itself.

Key information like KPIs (middle area, left aligned) stays as long as possible.

Global actions stay as long as possible. If there is no key information, the title and the global actions automatically get more space. The toolbar follows the standard toolbar overflow guidelines, and adds the available buttons to the overflow menu from right to left.

Layout actions: The dynamic page offers a specific area for layout actions, which reacts to the predefined breakpoint of 1280 px:

This breakpoint is independent of whether it is used in the flexible column layout, on a desktop device, or on a mobile device.

Letterboxing limits the width of the content area to 1280 px. This prevents the app content from becoming too “stretched” on wide screens, and optimizes readability. Letterboxing can be used together with the dynamic page if the use case requires it. However, most business apps offer so much content that the page is typically shown across the entire screen, without letterboxing.

Size L

Size M

Size S

Summary Line

To save vertical space on smartphones, you can opt to display a smaller summary line instead of the expand/collapse header feature. Switching on this feature can help users focus on the actual content of the page and is recommended.

Size S with summary line

Size S with summary line

Examples

The dynamic page layout is a generic control. The content of both the header and the page differs from floorplan to floorplan. Here are some examples showing the most frequently-used variant per floorplan. For detailed guidance, see the corresponding floorplan guidelines (analytical list page, overview page, list report, object page, worklist, wizard).

Floorplan Examples

Top Tips

Elements and Controls

Implementation

Visual Design