How do I go about using custom attributes in a table on the Insights dashboard?
My steps:
Insights → Dashboard → Table Widget
Attributes → Asset Type: Electricity Consumer Asset
Select All Assets of this type (to select all)
The attributes that are then available are the “standard” ones that ship with the manager.
I know with rules there is the ‘Rule State’ config that needs to be enabled to expose the attribute to the rules, is there something similar for the tables widget?
The table is only meant to work for attributes that are defined for that asset type.
Because, otherwise, not all assets would have that attribute added by default.
It’s not necessary to enable “Rule State” or anything else for this widget.
It shows the current value, so there is no configuration item required for it to show up
Unfortunately, as you can’t use custom attributes for the Table widget as we speak,
I’d recommend you to check out the Custom project template, and create a “custom project”.
There you can, relatively simple, create a custom asset type to your liking (or copy the Electricity Consumer Asset and modify it), even without too much coding knowledge.