I’m not sure how to do this but I would like to programmatically discover all tag names referenced by a given control from jython scripting for any reason. You can kind of see this from the status page on the gateway portal but its not programmatic and its for all open screens.
I have tried to setup my projects so that I can actually do this if people follow my convention of how to use dynamic properties + indirect tags on controls but its not perfect. For example if multiple tags are used for style and value on a control I cannot tell and would like to.
From this I can guess what tags are on a given screen (we have dense ones with hundreds) so that I can do analysis about which tags are in which scan classes on a given screen and how I need to reassign them to use bandwidth most efficiently.
I need to do this to keep down our bandwidth from devices and I find people occasionally pulling in a tag to a summary screen which pulls in thousands of other tags because its in the same scanclass which can double our traffic.