Including tag values in reports?
-
Is there currently a way to allow tags/values to be included in a report? I am looking to be able to create a report with an output that is visually similar to the Bulk Data Point Edit screen in the UI (tag columns with values).
Thank you.
-
Which report? Excel reports or just the standard reports module? I know the standard reports module has the data point tags in it but its not a columnar display like you are asking for.
-
Standard would be a good start.
-
You can access them two ways,
<#list mapped.p123.vo.tags?keys as tagKey> ${tagKey} - ${mapped.p123.vo.tags[tagKey]} </#list> <br/> ${mapped.p123.tags}
The first is iterating over the keys in the map of tags for the point with key "p123" (specified in the report configuration) while the second is a string with the tags joined by a ", ", and paired by a ": "