Skip to main content
Version: 1.0.4

Tag Browser

Browses the tag namespace as a tree and lets the operator select tags. It shows structure only — no live values.

The Tag Browser component as it renders with its default settings.The Tag Browser component as it renders with its default settings.

Reach for it when you need:

  • An engineering screen where the user picks which tags to trend

Component name: TagBrowser · Category: Display

In the palette: Browse the tag namespace as a tree and select tags (structure only, no live values)

Properties

Any property can be bound to a tag, another component's property, or a query.

PropertyTypeDefaultDescription
selectionModeenumsinglenone = browse only (no selection emitted). single = click a tag to select it. multiple = checkboxes with folder select-all. Options: none · single · multiple.
autoFocusbooleanfalseFocus the search box when the widget mounts.
placeholderstringSearch tags...
borderlessbooleanfalseDrop the widget's outer border/rounding.
showTagCountbooleantrueShow the number of tags in each folder.
truncatebooleantrueTruncate long tag names with an ellipsis, leaving room for the folder count (or to the edge when it's hidden). Off = let the name overflow — then 'overflow' decides scroll vs clip.
overflowbooleantrueWhen 'truncate' is OFF: allow horizontal overflow — long names scroll sideways instead of being clipped.
selectedItemobject{}Output (single): the selected tag as { tagId, tagPath, tagName }. Bind e.g. {{ <name>.selectedItem.tagId }}.
selectedItemsarray[]Output (multiple): the selected tags as an array of { tagId, tagPath, tagName }.
stylestyle{}Custom CSS properties

Events

Attach event actions to these in the Event Manager.

EventLabelGroupPayload
clickClickMouseThe DOM event.
dblclickDouble clickMouseThe DOM event.
contextmenuRight clickMouseThe DOM event.
mouseenterMouse enterMouseThe DOM event.
mouseleaveMouse leaveMouseThe DOM event.
tagSelectTag selectTreeThe selected tag.
selectionChangeSelection changeTreeThe current selection.
Right-click behaves differently in the Designer

contextmenu fires your configured actions at runtime only — in LiveView and in preview. On the Designer canvas the right-click is captured to open the Event Manager, so testing it there will not run your actions. Test right-click in preview.

Notes

Think before placing this on an operator screen: it exposes the whole plant model. On a public LiveView it is usually the wrong component.

See also