Browses a folder path or UDT and returns Tag configuration information for each Tag within the specified path. This can be used to view event scripts, alarms, as well as any other configurable attribute on a Tag. |
This scripting function has no Client Permission restrictions. |
system.tag.browseConfiguration(path, recursive)
String path - The path that will be browsed, typically to a folder or UDT instance. Leave blank to browse the root folder. A Tag Provider may be specified as follows: "[TagProvider]". If the Tag Provider is omitted, client scoped calls will be made against the project's default provider. Gateway scoped calls must include a Tag Provider. When browsing UDTs, specifying the UDT path will browse the Tags inside the UDT. To browse the UDT instance, specify the parent of the instance. Boolean recursive - If true, will recursively search for Tags in folders. Each folder will return a 'tags' property containing the nested TagConfigurations in another list.
TagConfiguration[] - A list of TagConfiguration objects. Attributes on the object may be read by calling tag.get(propertyObject). A list of attributes with configuration information can be obtained by calling getProperties(). Only attributes with non-default values will appear in the attribute list.
All
TagConfiguration Method Summary
|
|