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.
Change the default title of the widget by defining thenew one:
{
"widgetName": "Title"
}
It is better to use a title created in theSource Message(source_message) table, so that it has translations.
Exclude empty fields not to display in the widget:
{
"isShowEmptyField": "false"
}
Exclude REM attributes not to display in the widget:
{
"isShowRemAttribute": "false"
}
Define a reference to a record through a column name and its type: