Show TOC

Generic TileLocate this document in the navigation structure

The GenericTile control is the basic concept that displays any kind of content within a tile comprising news, feeds, or any kind of numeric content. The size of the tile matches the content displayed.

Details

The GenericTile control contains a header and a subheader, a header image or a background image and one or two TileContent controls to display the actual information. The TileContent control is the universal container for different content types. This means that the TileContent control has to contain one of the following controls:

  • NumericContent (frameType 1x1)

  • FeedContent (frameType 2x1)

  • NewsContent (frameType 2x1)

SlideTile

GenericTile controls of the 2x1 frameType can be added to the SlideTile control. The GenericTile controls added to the SlideTile control appear alternately, showing one content at a time. It makes sense to use SlideTile controls in day-to-day business to display news or feeds.

Tooltip Rendering and ARIA Labels

If a consuming app provides a tooltip, the GenericTile control renders the tooltip that corresponds to the ARIA label.

If a consuming app does not provide a tooltip, the GenericTile control generates a tooltip consisting of all the texts provided by the contributing contents. The tooltip generated by the control corresponds to the ARIA label.

If the consuming app provides a tooltip consisting of whitespaces only, the rendering of the tooltip is suppressed and the GenericTile control creates the ARIA label itself.

API Reference/Explored Sample

Constraints

With release 1.34, the following controls are moved from the sap.suite.ui.commons library to the sap.m library:

  • GenericTile

  • TileContent

  • FeedContent (formerly JamContent)

  • NewsContent

  • NumericContent

  • SlideTile (formerly DynamicContainer)

The following controls have not been transferred to the sap.m library and are not longer used:

  • GenericTile2X2

  • TileContent2X2

If you have already included one of these controls before SAPUI5 1.34, a wrapper ensures that the embedding still works for each control. To benefit from all the enhancements and new features for one of these controls as of SAPUI5 1.34, you need to switch to the controls in the sap.m library. With SAP UI5 1.34, all these controls in the sap.suite.ui.commons library are marked as deprecated.