[Perspective] List of Tag Groups

Hello. Is there a function to programmatically get the list of the current Gateway’s Tag Groups in a Provider?

Not in the system functions (as far as I know), but you might be able to find something with this:

http://files.inductiveautomation.com/sdk/javadoc/ignition80/8.0.0-beta/com/inductiveautomation/ignition/gateway/model/GatewayContext.html

which has a getTagManager method, which will bring you to this:

http://files.inductiveautomation.com/sdk/javadoc/ignition80/8.0.0-beta/com/inductiveautomation/ignition/gateway/tags/model/GatewayTagManager.html

Which has a getTagGroupsAsync method.

1 Like

Thank you!

Can you shared your script please?

Unfortunately I don't have it anymore. I'm sorry!