Tab
Implementation
The tabs are assigned as an array to the property "tabs".
{ "version": "2.0", "tabs": [ { ... }, { ... }, { ... } ], "additional" : { ... }}Properties
|
Name |
Description |
Required |
Exampel |
|
title |
Here the text that is in the tab is indicated. Translations can also be entered here. |
|
"title": "{{{Server.Allgemein}}}" |
|
iconName |
Here you can select the icon to be displayed on the tab. If the icon cannot be found, a question mark is displayed. The icons can be found on "Font Awesome". |
|
"iconName": "child" |
|
helpUrl |
Here you can specify the link (e.g. Confluence) that is displayed as help in the context menu. |
|
"helpUrl": "{{helpBaseUrl}}/inscd/{{helpVersion}}/{{helpLanguage}}/pflegen-von-stammdaten/verwalten-von-ressourcendaten" |
|
visible |
This property indicates whether the tab is visible or not. This property can evaluate "strings" as well as work with "boolean". |
|
"visible" : "!entity.isNew" oder "visible": true |
|
extendedView |
This property specifies whether the tab should be hidden by default and can only be shown via a corresponding action. |
|
"extendedView" : "isMobile" oder "extendedView": true |
Regions
The tabs can be used to display regions that show the information about an entity. To do this, add an array of regions to the "regions" property.
"regions": [ { ... }, { ... }] Component
Furthermore, you also have the option of embedding a component in a tab. To do this, assign the name of the file (without file extension) and the "path" to the "moduleName" property. In the property "props" you can assign properties to the component.
Example:
"moduleName": "app/core/components/skills","props": { "runningContext": "resource", "editable": "true" }Tables
A grid or table can also be implemented as a component. You can find more information about tables here .