system.config.getModes
New in 8.3.8
This function is used in Python Scripting.
Descriptionβ
Returns a list of all available resource collection modes.
Client Permission Restrictionsβ
This scripting function has no Client Permission restrictions.
Syntaxβ
system.config.getModes()
Parametersβ
Nothing
Returnsβ
List - A list of strings, containing all the available deployment modes on the Gateway.
Scopeβ
Gateway
Code Examplesβ
Code Snippet
# This example will return all the available deployment modes on the Gateway and print them to a label component on the same view.
myModes = system.config.getModes()
self.getSibling("Label").props.text = myModes