Updated: December 19, 2016

Flat Object View Floorplan

Intro

The flat object view floorplan displays all the information for an object on one long, scrollable page. The advantage of this floorplan over the object view floorplan is that the layout stays the same in both display and edit mode.

Flat object view floorplan
Flat object view floorplan

Usage

Use the flat object view floorplan if:

  • You want to switch to edit mode without disrupting the layout of the page.
  • You want to show the different sections for an object on one page.

Do not use the flat object view floorplan if:

  • The objects contain too much information for one page. Instead, use the object view floorplan, and build tabs to organize and simplify the content.

Structure

The flat object view has the same basic structure as the object view floorplan, with the object header control at the top and a footer toolbar at the bottom. However, unlike the object view floorplan, the flat object view does not have a tab container to switch between different facets of the object. Instead, it has one long flat layout with multiple form or table elements underneath each other. The flat object view builds entirely on existing controls. 

Flat object view – Structure
Flat object view – Structure

Responsivness and Adaptiveness

Flat object view on a phone
Flat object view on a phone
Flat object view on a tablet
Flat object view on a tablet
Flat object view on a desktop
Flat object view on a desktop

You can embed the flat object view floorplan in a full screen layout or split-screen layout. In both cases, it can be used as an alternative to the object view floorplan.

Flat object view – Split-screen layout
Flat object view – Split-screen layout

Edit

The flat object view is optimized for switching between the display and edit modes – the structure and layout of the page remain intact. In the object view, the tabs have to be flattened out in edit mode to avoid hidden editing errors and inconsistencies between tabs. In the flat object view, all elements are always visible, so any error messages and inconsistencies can be highlighted directly on the page.

Flat object view on a desktop device
Flat object view on a desktop device
Flat object view in edit mode
Flat object view in edit mode

In addition to the full page edit mode, the flat object view also supports a partial edit flow, where only certain sections switch to edit mode.

Flat object view – Partial edit for individual sections
Flat object view – Partial edit for individual sections
Flat object view – Partial edit active for one section
Flat object view – Partial edit active for one section

Scrolling

Because the flat object view displays everything on one page, users might need to scroll to reach the end. While scrolling itself is no longer critical – today’s devices all support optimized scroll gestures – usability issues can still occur with large tables and collapsible panels.

Embedding Large Tables

If the view contains a long embedded table, the remaining content may be pushed down too far. Therefore, when embedding a large table, make sure that you limit the number of items that are initially loaded. This ensures that the user can reach the content below the table.

Collapsible Panels

If your object has several sections, you might be tempted to use collapsible panels to reduce the length of the page and minimize scrolling. However, placing several collapsed panels below each other can look broken. It also forces the user to open and close containers, which can shift their position. This behavior has been proven to cause usability issues. Where possible, avoid using collapsible panels in the flat object view.

Flat object view – Scrolling behavior
Flat object view – Scrolling behavior
Avoid stacking collapsible panels
Avoid stacking collapsible panels

Guidelines

  • Avoid showing long tables in full when a page is first loaded. Instead, use lazy loading to display only the first 5 or 10 table items.
  • Avoid using collapsible panels to minimize scrolling.
  • Use either the panel or table controls as basic elements of the flat object page and avoid embedding elements in other elements. Placing the elements underneath each other makes the layout very clean and stable.
  • Use the object header at the top of the flat object view to give the page structure.
  • Choose between the global or local edit flow (the global flow is usually easier to handle).

Visual Design

The flat object view floorplan has no visual design of its own. However, app design and development teams should ensure that the margins and padding are similar to those of the normal page layout. For example, the controls should have the same margins inside the side content container.

Basic layout of the flat object view on a smartphone
Basic layout of the flat object view on a smartphone
Basic layout of the flat object view on a tablet
Basic layout of the flat object view on a tablet
Basic layout of the flat object view on a desktop
Basic layout of the flat object view on a desktop

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