Several example widgets are provided with the system, we will use three of these on our dashboard. This section describes how to add these widgets to your dashboard and explains the features of each in detail.
-
For each of the three widgets, click to open the Configure Widget wizard, and select Choose an existing widget.
-
Select the following widgets:
-
HEX_Tag_Details
This shows the name, description, safety critical status, and criticality rating of the tag. The title of this widget is Details.
-
HEX_Tag_Asset_Details
This shows details of the asset related to the tag. It displays the name, description, serial number, model, and manufacturer of the asset. The title of this widget is Assets.
-
HEX_Tag_Open_Change_Requests
This shows change requests related to the tag. Only change requests in the In Progress, Open, or Approved state are included. It displays the name, description, priority, and status of each change request. The title of this widget is Open Change Requests.
-
-
Click to open the Configure Widget wizard for each widget to see how it was created. The widgets are identical except for the Type and the Base URL.
-
HEX_Tag_Details
-
Type: Form
-
Base URL: Tags('{{CURRENT_OBJECT_ID}}')?$select=Name,Description,Safety_Critical,Criticality_Rating
-
The base URL identifies the tag with Tags('{{CURRENT_OBJECT_ID}}'). It then selects the name, description, safety critical status, and criticality rating for that tag using the $select expression.
-
HEX_Tag_Asset_Details
-
Type: Form
-
Base URL: Tags('{{CURRENT_OBJECT_ID}}')/FDWTagAsset?$select=Name,Description,Serial_Number,Model,Manufacturer
-
The base URL identifies the tag with Tags('{{CURRENT_OBJECT_ID}}'). It then finds related assets with /FDWTagAsset, and selects the name, description, serial number, model, and manufacturer for that asset using the $select expression.
-
HEX_Tag_Open_Change_Requests
-
Type: Count
-
Base URL: Tags('{{CURRENT_OBJECT_ID}}')/SDATagsChangeRequest?$filter=Status eq 'IN PROGRESS' or Status eq 'OPEN' or Status eq 'APPROVED'&$select=Name,Description,Priority,Status
-
The base URL identifies the tag with Tags('{{CURRENT_OBJECT_ID}}'). It then finds related change requests with /SDATagsChangeRequest, filters the change requests based on status using $filter=Status eq 'IN PROGRESS' or Status eq 'OPEN' or Status eq 'APPROVED', and selects the name, description, priority, and status for each change request using the $select expression.
-