Record Title
HeaderDto
Timeline entry title
Field | Type | Description | Additional |
---|---|---|---|
title | textWithTranslation | Entry title | Required. |
titleAction | ActionDto | Entry title click action. | |
tags | TagDto[] | No more than two tags allowed. |
TagDto
Tag inside timeline entry title.
Field | Type | Description | Additional |
---|---|---|---|
title | textWithTranslation | Tag text | Required. |
type | string | Tag type. Defines external appearance. | Required. |
action | ActionDto | Tag click action. | |
scope | string | Where to display. | |
hideIfReadonly | bool | Hide tag, if user doesn't have edit access. =False by default. |
Possible values for type field:
- success - Green background
- failure - Red background
- warning - Yellow background
- primary - Blue background
- secondary - Grey background
Example
{ "title": "Attention! Important!", "type": "warning" }
© «Bitrix24», 2001-2024