Documentation

Record footer

FooterDto

Timeline record footer with action block.

Field Type Description Additional
buttons FooterButtonDto[] Array with objects, describing action button.No more than two buttons allowed.
menu FooterMenuDto Lower menu

FooterButtonDto

Button in the timeline record footer

Field Type Description Additional
title textWithTranslation Button textRequired
type string Button type. Defines external appearance.Required
action ActionDto Click action.Required
scope string Where to display
hideIfReadonly bool Hide, for user without edit permission.False by default.

Possible field values type:

  • primary - button blue background
  • secondary - button white background

Example:

{
  "title": "Open deal",
  "type": "primary",
  "action": {
    "type": "redirect",
    "uri": "/crm/deal/details/123/"
  },
  "scope": "web",
  "hideIfReadonly": true
}

FooterMenuDto

Drop-down menu for timeline record footer.

Field Type Description Additional
showPinItem bool Показывать ли пункт меню "Закрепить". Пункт меню не будет показан, если его добавить в невыполненное дело.По-умолчанию true.
showPostponeItem bool Show the "Postpone" menu item. Menu item won't be displayed, if it's added to the incoming activity, an activity without deadline, or into completed activity.True by default.
showDeleteItem bool Show the "Menu" item.True by default.
items MenuItemDto[] Associative array with objects, describing drop-down menu items

Example:

{
	"showPostponeItem": "false",
	"showDeleteItem": "false",
	"items": {
		"confirm": {
			"title": "Confirm request",
			"action": {
				"type": "restEvent",
				"id": "confirm",
				"animationType": "loader"
			}
		},
		"decline": {
			"title": "Decline request",
			"action": {
				"type": "restEvent",
				"id": "decline",
				"animationType": "loader"
			}
		}
	}
}

© «Bitrix24», 2001-2024
Up