Tag Browse Tree - easy way to select all or set of identically named tags?

We generally have dozens up to thousands of individual instances of UDTs. Within these, the UDTs will often have a few KPIs we want to chart or pull reports on in comparison.

Imagine I want to compare or export data for a particular tag (say Angle) for many matching devices (say Motor).

We're often using the tag browse tree, or a self-developed alternative from before that component existed, to browse the tag tree and allow users to select tags for charting or data export in Perspective.

What's the best way to allow our users to find all instances of a particular tag name within a certain part of the tag hierarchy? Regex-enabled search or something similar?

This is the script equivalent of the tag report tool:

https://docs.inductiveautomation.com/display/DOC81/system.tag.query

Note, the easiest way to get that function up and running is by using the tag report tool itself. Define your search parameters in the trt and then copy the script version from the tool menu. Much easier than trying to work out what the json structure needs to be yourself

2 Likes