The Summary widget is used in approval forms. It is used to reduce the number of actions and the time required to get acquainted with the subject of approval. But it can also be added to other forms.
To display summary of records, you need toadd the widget to a form layoutand configure option schema.
*скрин примера виджета на форме
Add a widget to a form layout
To add the widget on forms, complete the following steps:
Navigate to any table record you need to add the widget.
In the hamburger menu, selectConfigure →Form → Layout.
Move the Summary widget from the Available box to the Selected box.
You can configure the option schema to override default widget settings. Learn how to do it below.
Click Saveto apply the changes.
If you do not configure the option schema, the widget will have default settings:
Use theWidget Instancewindow to specify the widget options. Click the widget while configuring the layout to call this window.
In the window, fill in the Schema Option Valuesfield. Enter the widget options in JSON format. If you leave the field empty, thedefault valueswill be applied.
Define a table on which to display the widget:
{
"tableId": "table_id"
}
Add the widget on the portal forms:
{
"isPortal": "true"
}
Define a configured view name:
{
"viewName": "view.title"
}
Define a reference to a record through a column name and its type: