Displays the list of occurred historical alerts considering the navigation context.
Details Navigation
Clicking on a row opens the event details popup. Optionally the alert details can be opened in a full page (see Details Mode option).
The header of the alert details popup contains the alert name, description, and a breadcrumb that provides the context of the alert, and whose tokens can be clicked to quickly jump to related objects (e.g. Customer, Location, Thing).
The alert details body is generated through a template which by default reports the event main information (e.g. timeline, technical description), but in the alternative you can redefine the template within the event definition page.
On the alert list rows, you can also click directly on specific information to jump to the alert related objects:
Customer Name / Code ā Customer details page
Location name ā Location details page
Thing Name / Serial Number ā Thing details page
In all other case the alert details popup/page is opened.
Template Syntax
Below you can find some examples of how to use the component within a template.
<historical-alert-list-widget-v2 pageSize="50">
<property name="severity" [showHeader]="false" filter="severityIcon"></property>
<property name="date" [label]="'Date Time'"></property>
<property name="title" [label]="'Alert'"></property>
<property name="description" [label]="'Alert Details'"></property>
<property name="duration"></property>
</historical-alert-list-widget-v2>
Component Reference
Here is a comprehensive list of all the elements and properties that can be used to configure the component.
Historical Alert List <historical-alert-list-widget-v2> | |
---|---|
PROPERTIES | |
CSS Class | The name(s) of the CSS class used to customize the widget layout. |
Details Mode | The way the details page is opened when the details icon is clicked. If non the details icon is not present. PAGE POPUP NONE
|
Empty Message | The blank message to be displayed in the widget in case no item was found. To manage translations, you can define a label and use the key as the value of the property. |
Export Enabled | The boolean flag indicating whether the data export is enabled. true false
|
Include Sub Things Alerts | The flag indicating whether sub-things alerts must be included when this widget is placed in a thing dashboard. true false
|
Page Size | The number of items to load on each page. |
Query | The array of conditions filtering out items. |
Query Variable | The id of the page's <things-filter-field> used for searching. |
Title | The title displayed on the top part of the widget box. |
Click On Row Behaviour | The expected behaviour when a row is clicked. OPEN_DETAILS OPEN_CONTEXT_OBJECT
[DEPRECATED] |
SUB-ELEMENTS | |
Property | The property whose value must be displayed within the alert detail row or box. |
Composite Part | The composite part whose value must be displayed within the alert detail row or box. <property name="name"></property> <property name="severity"></property> </composite-part> |
Property <property> | |
---|---|
PROPERTIES | |
Column CSS Class | The name(s) of the column CSS class used to customize the table column. |
Description | The property description. |
Export Only | The boolean flag indicating whether the property value should be included only in the export and not visible within the page. true false
|
Filter | The name of the filter used to transform and display values. |
Label | The property alternative label. |
Name | The property whose value must be loaded by the widget. |
Show Header | The flag indicated whether the header is visible. true false
|
Visibility Condition | The expression that allows you to reduce the visibility of the element. |
Composite Part <composite-part> | |||||
---|---|---|---|---|---|
PROPERTIES | |||||
Column CSS Class | The name(s) of the column CSS class used to customize the table column. | ||||
Description | The composite-part description. | ||||
Filter | The filter applied on the composite-part to transform or display its value. | ||||
Label | The label displayed by the widget. | ||||
Name | The composite-part name. | ||||
Show Header | The flag indicated whether the header is visible. true false
| ||||
Visibility Condition | The expression that allows you to reduce the visibility of the element. | ||||
SUB-ELEMENTS | |||||
Property | The property whose value must be loaded within the composite-part.
|