A dashboard widget is a customizable component that can be added to a dashboard to display information or functionality. Widgets are owned by specific applications and may require permissions or module feature flags (FF) to be visible for staff members.
Properties
Name
Description
Type
Example
uid
Unique identifier of the dashboardWidget object
string
d290f1ee-6c54-4b01-90e6-d701748f0851
app_code_name
The code name of the app that owns the widget
string
myappcode
display_name
The widget display name in different languages
object
{ "en": "Payments", "fr": "Paiements" }
permissions
The permissions required for the widget to show up for a staff member. If it is null, no restrictions will be enforced
array
["payments_edit", "payments_read"]
module
The module (FF) required for the widget to show up for a staff member
string
Payments
component_data
A configuration object is passed to the widget to initialize it. Can vary based on the widget class