View
Element to display a record from the database
Last updated
Element to display a record from the database
Last updated
Model - data model for the view.
Endpoint - data source for the view.
Title (not mandatory) - view title.
Width (mandatory) - vew width.
Direction (mandatory) - how elements are arranged inside the view, vertically or horizontally. Horizontall be default.
Size (mandatory) - view row size.
Border (mandatory) - view borders.
Name (mandatory) - name of the view.
Visible (mandatory) - makes the view visible if turned on. Enabled by default.
In this section, you can manage view lines.
onCreate – fires when the component is created on the page;
onShow – fires when the component changes its state to visible (displayed on the page);
onHide – fires when the component changes its state to hidden (stops being displayed);
onDestroy – fires when the component is destroyed;
onDataUpdate – fires by the View Update Data block.
Gets view's properties
Input parameters:
Component Id [string] - view component's identifier.
Output parameters:
Title [string] - view title;
Style [enum] - view style;
Layout [enum] - view enum;
Bordered [boolean] - state of border;
Visible [boolean] - state of visible;
Loading [boolean] - state of loading.
Sets all view's properties
Input parameters:
Component Id [string] - view component's identifier.
Title [string] - view title;
Style [enum] - view style;
Layout [enum] - view enum;
Bordered [boolean] - state of border;
Visible [boolean] - state of visible;
Loading [boolean] - state of loading.
Update view's properties
Input parameters:
Component Id [string] - view component's identifier.
Title [string] - view title;
Style [enum] - view style;
Layout [enum] - view enum;
Bordered [boolean] - state of border;
Visible [boolean] - state of visible;
Loading [boolean] - state of loading.
Gets data from view
Input parameters:
Component Id [string] - view component's identifier.
Output parameters:
Data [Data Model] - Data Model element to be used. Available in the business process when Component ID is specified only.
Clears data from view
Input parameters:
Component Id [string] - view component's identifier.
Refresh data in a view
Input parameters:
Component Id [string] - view component's identifier.
Data [Data Model] - Data Model element to be used. Available in the business process when Component ID is specified only.
Update data in a view
Input parameters:
Component Id [string] - view component's identifier.
Data [Data Model] - Data Model element to be used. Available in the business process when Component ID is specified only.
The view element can be used to display the data of one record from the database. For example, information about the application user: