Skip to main content
Version: 8.3

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