Hello
Is it possible to add custom properties to the tags? There are plenty of classes in API that seem to help with the subject, but they lack description. Can somebody briefly describe the process?
Thank you
Unfortunately, no, it’s not currently possible. Ultimately tag properties are currently tied to the TagProp enum, which doesn’t leave room for expansion. However, we’ve continuously been improving the infrastructure to support this, and need to finally finish it up soon. The next step after allowing additional properties is to allow modules to define their own types of tags, which is also partially implemented already.
Regards,
Is there a way to use some concept of sub-tags or something for binding non-scalar composite structures to our tags in addition to having scalar tag value?
For example, what is TagType.ATTRIBUTE for? Can we use it?
And the concept of UDT is completely undocumented. Do you have some description of it for newbies?
[quote=“Colby.Clegg”]However, we’ve continuously been improving the infrastructure to support this, and need to finally finish it up soon. The next step after allowing additional properties is to allow modules to define their own types of tags, which is also partially implemented already.
[/quote]
Can we help you finish it up?
Hi,
TagType.Attribute will indeed be the bases for custom properties, but currently it is only used for UDT parameters. We still need update all of our documentation for UDTs (and tag history, for that matter). I’ll see if we can get that done sometime in the next week.
Regards,
Thank you, Colby
I hope this description will clarify a lot.