StaffWidgetsBoard

Entity description

A staff widgets board is a layout structure that organizes dashboard widgets into sections. Each board is defined by a layout type, sections, and associated widgets, allowing customizable dashboard configurations.

Properties

NameDescriptionTypeExample
uidUnique identifier of the staffWidgetsBoard objectstringd290f1ee-6c54-4b01-90e6-d701748f0851
board_layout_code_nameA string representing the board layoutstringMainAndSideBar2Columns
typeThe grid frame of the layout, determines the layout frame containing the boardstringhome
sectionsAn array of dashboard sections. Each section contains properties defining it and a list of widgets.arraySee Sections table below
created_atThe time the staffWidgetsBoard was createdstring2021-06-20T14:00:00.000Z
updated_atThe time the staffWidgetsBoard was last updatedstring2021-07-15T14:00:00.000Z

Sections Properties

NameDescriptionTypeExample
code_nameA code name representing the type of the sectionstringMain
widgetsAn array of widget UIDs populated in the sectionarraySee Example for detailed widget structure

Example

{
  "uid": "d290f1ee-6c54-4b01-90e6-d701748f0851",
  "board_layout_code_name": "MainAndSideBar2Columns",
  "type": "home",
  "sections": [
    {
      "code_name": "Main",
      "widgets": [
        {
          "uid": "d290f1ee-6c54-4b01-90e6-d701748f0851",
          "app_code_name": "myappcode",
          "display_name": {
            "en": "Payments",
            "fr": "Paiements"
          },
          "dimensions": {
            "max_height": 2,
            "min_height": 1,
            "height": 2,
            "max_width": 3,
            "min_width": 1,
            "width": 2
          },
          "component_data": {
            "name": "iFrame",
            "config": {
              "title": "calendar",
              "url": "www.partnerdomain.com/calendar"
            }
          }
        },
        {
          "uid": "d290f1ee-6c54-4b01-90e6-d701748f03434",
          "app_code_name": "myappcode2",
          "display_name": {
            "en": "Clients",
            "fr": "Clientèle"
          },
          "dimensions": {
            "max_height": 3,
            "min_height": 2,
            "height": 3,
            "max_width": 4,
            "min_width": 1,
            "width": 3
          },
          "component_data": {
            "name": "iFrame",
            "config": {
              "title": "clients",
              "url": "www.partnerdomain.com/clients"
            }
          }
        }
      ]
    }
  ],
  "created_at": "2021-06-20T14:00:00.000Z",
  "updated_at": "2021-07-15T14:00:00.000Z"
}