Get Data Type from Tag Path

If I have a string specifying the full path (e.g., FolderStructure/InstanceName) to a UDT instance, how can I get the data type of the UDT instance? I found the user manual information for the system.tag.browseConfiguration function (https://docs.inductiveautomation.com:8443/display/DOC79/system.tag.browseConfiguration) and see that it can be used to iterate through all the tag configurations in a folder and then iterate through the properties of each tag configuration to get the typeId property of any UDT instances in the folder but I don’t want to loop through the entire folder.

system.tag.read("FolderStructure/InstanceName.UDTParentType")

1 Like

That’s pretty slick, thank you very much. I didn’t realize that function worked for reading tag attributes. I had found the list of attributes (https://docs.inductiveautomation.com:8443/display/DOC79/Tag+Attribute) but couldn’t figure out how to access them.