List
List
widget is list the general information for many records and present it in a way that is easily interpretable for users.
Basics
How does it look?
How to add?
Example
Step1 Create file .widget.json.
- name - static (unique within the project)
- title - (optional)
- type = "List" (required)
- bc - (required)
- fields- (required) see field types
{
"name": "MyExampleList",
"title": "List title",
"type": "List",
"bc": "myExampleBc",
"fields": [
{
"title": "Custom Field",
"key": "customField",
"type": "input"
}
]
}
{
"name": "myexamplelist",
"title": "My example List",
"url": "/screen/myexample/view/myexamplelist",
"template": "DashboardView",
"widgets": [
{
"widgetName": "MyExampleListInfoText",
"position": 20,
"gridWidth": 12
},
{
"widgetName": "MyExampleList",
"position": 20,
"gridWidth": 12,
"pageLimit": 2
}
],
"rolesAllowed": [
"CXBOX_USER"
]
}
Main visual parts
Title
Title - (optional)
There are types of:
constant title
: shows constant text.constant title empty
: if you want to visually connect widgets by them to be placed one under another
How does it look?
How to add?
Example
Step1 Add name for title to .widget.json.
Actions
Actions
show available actions as separate buttons
see Actions