Issue trying to use system.roster.* in 8.0.13

I’m sure it’s got to be something right in front of me as the roster set of functions was added in 8.08, but I’m just trying to call system.roster.getRosters() in the script editor and I’m getting the following error…

AttributeError: ‘com.inductiveautomation.ignition.designer.gui.tool’ object has no attribute ‘roster’

Intellisense doesn’t show the roster library at all…

Thanks!

This scripting function is only available in gateway and perspective scopes.

The script editor/console is designer scope.

1 Like

Ah, well that would explain it!

Thanks!

All of the scripting functions should indicate the scope they’re available in when you’re looking at the online docs. If you find one that is missing it or incorrect feel free to report it.

1 Like