Updated: March 17, 2021

Dynamic Page Layout – Semantic Page

Intro

The semantic page is designed to support freestyle applications. By predefining where elements such as titles, global actions, and finalizing actions are placed, the semantic page helps designers and developers to implement and comply with the SAP Fiori Design Guidelines more easily. Based on the dynamic page and possessing its functionalities, the semantic page also adds semantic meaning to specific elements on the page.

Usage

Use the semantic page if:

  • You are building a freestyle application.
  • You want to use a predefined layout to reduce development time.

Do not use the semantic page if:

Structure

The semantic page is based on the structure of the dynamic page layout. The semantic page consists of:

  • The header title with global actions (always visible).
  • The content of the page with a footer toolbar and finalizing actions (optional).

The control’s semantics determine whether content specified in the control will appear in the header toolbar or footer toolbar.

Semantic page structure
Semantic page structure

Header Title

The title is located on the left-hand side of the header title (sap.m.Title) and contains the following components :

  • An optional global actions toolbar for the entire floorplan, located on the right-hand side. These actions should be represented using buttons, visualized either as text or icons. For more information, see header toolbar.
  • Overflow menu for actions, moving into the overflow from right to left. Icons are shown in the overflow menu with a corresponding text.

In the case of the flexible column layout, navigation actions are placed in the same toolbar as the global actions, separated with a vertical separation line.

Semantic page header title
Semantic page header title

Footer Toolbar

The footer toolbar is optional and contains the following components:

  • Message indicator (containing message popover) on the left-hand side
  • Draft indicator on the right-hand side, just before the finalizing actions
  • Finalizing actions on the right-hand side
Semantic page footer toolbar
Semantic page footer toolbar

Actions

Actions in the Header Toolbar

The following actions are available in the semantic page:

  • Application-specific actions determined by use case
  • Global actions
  • Navigation actions – only in flexible column layout.

In the semantic page, the order of the actions is predefined:

  1. Emphasized button: Application-specific or semantic text button
  2. Text buttons: Application-specific actions precede semantic (generic) actions
  3. Icon buttons: Application-defined buttons precede semantic icons, such as Favorite, Flag and Share
  4. Navigation actions with vertical separator: Used only in flexible column layout

Order of Semantic Actions

Ensure that the semantic actions reflect the following order:

Example for the order of actions in semantic header
Example for the order of actions in semantic header

Actions in the Footer Toolbar

In the semantic page, the order of the actions is predefined.

  • The leftmost button is emphasized or positive/negative. Only one button can be emphasized at a time. The default actions for these buttons are Save, Accept, and Reject. If your header toolbar contains an emphasized button (excluding the message handling button), try to avoid using emphasized buttons in the footer toolbar.
  • The transparent buttons appear next. They can include some of the actions below:
    • Post
    • Start Process
    • Send
    • Release
    • Save
    • Submit
    • Cancel
    • Forward
    • Confirm

A transparent button can also include custom application-specific actions. These will appear on the right-hand side of the footer toolbar.

Examples of actions in the footer toolbar
Examples of actions in the footer toolbar

Responsiveness and Adaptiveness

The responsive behavior of the semantic page depends on the behavior of the content that is displayed.

  1. Global actions within the toolbar move first into the overflow menu (1). The toolbar follows the standard toolbar overflow guidelines by adding the available buttons to the overflow menu from right to left. If there is not enough space left, the title and subtitle text will wrap.
  2. Navigation actions used in the flexible column layout (2) do not move into the overflow menu.

 

Size S
Size S
Size M
Size M
Size L
Size L

Guidelines

Please see the Guidelines section in the toolbar overview and dynamic page layout article.

Resources

Want to dive deeper? Follow the links below to find out more about related controls, the SAPUI5 implementation, and the visual design.

Elements and Controls

Implementation