Custom cockpit tiles

You can select tiles and tile groups to be visible in the Cockpit. Tiles must be part of a tile group to be visible. Both the tile and tile group need the Cockpit Tile and Cockpit Tile Group settings enabled to display. Both these settings are available within the Settings tab, in the General section within each respective tool.

Fewer menu items are present when using the tile as a Cockpit tile. No Image, Appearance, Documentation, or Translation tabs are visible.

It is possible to still use roles within the tile or tile group to enable access control to the cockpit tiles.

Configure Cockpit tile

A number of properties are required when configuring a custom Cockpit tile.

  1. In SettingsInformation, enter a Title and Context Text for the Cockpit tile. You must enter Content Text in either plain text or text in HTML format.

    See the UI5 documentation for supported tags and more information.
  2. In Navigation, configure the Semantic Object and Action.

    This is required as it is used within the browser, when opening the Cockpit tile, to go to it within the Cockpit container. For example: /cockpit#run-tile is set in the URL when the above tile is selected in the Cockpit.
  3. Add an icon to the Cockpit tile.

  4. In the Tile Size section of the Size tab, configure the width and height of the Cockpit tile.

  5. In GeneralType, set the Cockpit tile type to Application to set an application to run on top of the tile, and to be opened when the tile is selected (the same as within a Launchpad).

  6. Using the Action tab, you can define the type of application to open when the Cockpit tile is selected.

Supported events

Cockpit tiles/tile groups support a subset of the features currently available in the Launchpad.

Custom Cockpit tiles support these events:

  • beforeClose

  • beforeHome

  • beforeDisplay

  • onInit

Meaning any applications running within the Cockpit Tile can utilise these events.

You can find these events within the Code Snippets. (These can be accessed within the right-click menu within any script context)

Apps in Custom Cockpit Tiles can use AppCache.Load to load other applications in parent objects or dialogs. They should, and must (in the case of dialogs) pass an appGUID (i.e. ModelData.genID()) parameter