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
Before adding the widget to a form, check that you can add it to the necessary table. To do this, complete the following steps:
Navigate to Portal Structure → Widgets.
Find the Summary widget record.
Check whether the Tables field refers to the necessary table.
If not, select the table you need to add the widget to.
Click Save or Save and Exit.
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 reference to a record. Specify a column name and its type: