Skip to main content
Version: 7.9


​ This function is used in Python Scripting. ​


Returns a sorted array of tags from a specific folder. ​

Client Permission Restrictions

This scripting function has no Client Permission restrictions. ​


system.tag.browseTagsSimple(parentPath, sort)


StringparentPathThe parent folder path. Leave blank for the root folder.
Note: You can specify the tag provider name in square brackets at the beginning of the parentPath string. For example, [myTagProvider]MyTagsFolder. If the tag provider name is left off then the project default provider will be used.
StringsortSets the sort order, possible values are ASC and DESC.


BrowseTag[] - An array of BrowseTag. BrowseTag has the following variables: name, path, fullPath, type, dataType, and the following functions: isFolder(), isUDT(), isOPC(), isMemory(), isExpression(), isQuery().


All ​


If called in the Gateway scope, a tag provider must be specified.

Code Examples

Example #1
# This script will print out the names of all tags and the tag type
tags = system.tag.browseTagsSimple("", "ASC")
for tag in tags:
print "Name:",, "\tType:", tag.dataType