system.config.getResourceTypes
New in 8.3.8
This function is used in Python Scripting.
Description​
Returns a list of all registered resource types.
Client Permission Restrictions​
This scripting function has no Client Permission restrictions.
Syntax​
system.config.getResourceTypes()
Parameters​
Nothing
Returns​
List - A list of tuples containing all the currently registered resource types on the Gateway.
Scope​
Gateway
Code Examples​
Code Snippet
# This example will return all registered resource types on the Gateway and
# print them to a Label on the same view.
allMyResources = system.config.getResourceTypes()
self.getSibling("Label").props.text = str(allMyResources)