Bottom Part of the Record

The bottom part of the timeline record with the FooterDto action block.

Parameters of the FooterDto Object

Required parameters are marked with *

Field

Description

buttons
FooterButtonDto

An array of objects describing action buttons. No more than two buttons are allowed

menu
FooterMenuDto

Bottom menu

FooterButtonDto

A button in the bottom part of the timeline record.

Parameters of the FooterButtonDto Object

Required parameters are marked with *

Field

Description

title*
textWithTranslation

Button text

type*
string

Button type. Defines its appearance, e.g., primary

action*
ActionDto

Action to be performed when the button is clicked

scope
string

Scope, e.g., web

hideIfReadonly
boolean

Flag. Hides the tag if the user does not have edit access (default is false)

Possible values for the type field:

  • primary - Blue button background
  • secondary - White button background

Example

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

FooterMenuDto

Dropdown menu in the bottom part of the timeline record.

Parameters of the FooterMenuDto Object

Field

Description

showPinItem
boolean

Show the "Pin" menu item. The menu item will not be shown if added to an incomplete activity. Default is true

showPostponeItem
boolean

Show the "Postpone" menu item. The menu item will not be shown if added to an incoming activity, an activity without a deadline, or a completed activity. Default is true.

showDeleteItem
boolean

Show the "Delete" menu item. Default is true

items
MenuItemDto

Associative array of objects describing dropdown 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"
                    }
                }
            }
        }
        

Continue Learning