View
Element to display a record from the database
Initial setting:
Model - data model for the view.
Endpoint - data source for the view.

Look&Feel Settings:
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.
Data settings:
In this section, you can manage view lines.

Workflow triggers:
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.
Component Actions:
View Get Properties:
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.

View Set Properties
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.

View Update Properties
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.

View Get Data
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.

View Clear Data
Clears data from view
Input parameters:
Component Id [string] - view component's identifier.

View Refresh Data
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.

View Update Data
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.

Usage example:
The view element can be used to display the data of one record from the database. For example, information about the application user:

Last updated
Was this helpful?