I suggest you copy the json of a tag/UDT Instance/UDT Definition and inspect what properties are stored against the tag(s). You will find that only the properties whose values have been overridden are stored with the configuration.
This means:
- the configuration of standard tags will store all overridden property values in their config
- the configuration of tags within UDT instances will store all property values overridden inside the UDT Instance, not inside this and the UDT Definition, (as well as its name and tag type, since these are important)
To get all overridden property values regardless of where they are overridden (inside of the UDT Instance or inside of the UDT Definition), then you should use system.tag.getConfiguration
.
To also include the default values of properties that haven't been overridden is a bit more involved. These might get you started:
Tag Props
Alarm Props