Asset Icons in Fault Viewer Control
The fault viewer control can now display asset icons.
Setting Asset Icon in Data Column Settings for Fault Viewer
To Add a Column for Icons:
-
In your fault viewer, go to the Fields page.
-
Add a new field.
-
For Data Column, select Asset Icon.
-
Go to the Columns page.
-
Select the Add new item to the collection+ button and choose the AssetIcon field or select the Generate columns from list of fields button to have the field added automatically.
-
Reorder the columns as desired.
The fault viewer control can also support interpreting any string field as an icon. The source for these icons is the AssetWorX icon repository, configured in Workbench under Assets > Product configuration > Images. The expected format of the string is: ac:.Icon Definitions/name (example: ac:.Icon Definitions/Enterprise). Note that expressions can be used to build the string name if the database or asset provides only part of the required string (example expression: x="ac:.Icon Definitions/" + {{@@value}}).
To change a string column into an icon, go to the Columns page, select the column in question, and set the Content Type to Icon.
The Table Control also supports interpreting string fields as icons. See HERE for more information.
NOTE: The Asset Icon field cannot be sorted, grouped by, or filtered.
NOTE: Other icon columns (connected to string fields) can be grouped by and sorted, but not filtered.
NOTE: When another field is "grouped by", the icon will not be shown.
See Also: