Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
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 to add the widget to a form layout and 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, select Configure → 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 Save to apply the changes.
Info | |||||||
---|---|---|---|---|---|---|---|
If you do not configure the option schema, the widget will have default settings:
|
Configure the options schema
Use the Widget Instance window to specify the widget options. Click the widget while configuring the layout to call this window.
In the window, fill in the Schema Option Values field. Enter the widget options in JSON format. If you leave the field empty, the default values will be applied.
Change the default title of the widget by defining the new one: Define a table on which to display the widget:
Code Block { "widgetNametableId": "Titletable_id" }
Tip It is better to use a title created in the Source Message (source_message) table, so that it has translations.
Exclude empty fields not to display in the widgetAdd the widget on the portal forms:
Code Block { "isShowEmptyFieldisPortal": "falsetrue" }
Exclude REM attributes not to display in the widgetDefine a configured view name:
Code Block { "
isShowRemAttributeviewName": "
falseview.title" }
Define a reference to a record through a column name and its type:
Code Block { "columnName": "column_name" "columnType": "column_type.title" }
Change the default title of the widget by defining the new one: Define a configured view name:
Code Block { "viewNamewidgetName": "view.titleTitle" }
Tip It is better to use a title created in the Source Message (source_message) table, so that it has translations.
Exclude empty fields not to display in the widgetAdd it on the portal:
Define a table on whichCode Block { "isPortalisShowEmptyField": "truefalse" }
Exclude REM attributes not to display in the widget:
Code Block { "
tableIdisShowRemAttribute": "
table_idfalse" }