Skip to main content
Version: 8.3

system.config.getActiveMode

New in 8.3.8


This function is used in Python Scripting.

Description​

Returns the current deployment mode, or None if no mode is explicitly active.

Client Permission Restrictions​

This scripting function has no Client Permission restrictions.

Syntax​

system.config.getActiveMode()

Parameters​

Nothing

Returns​

String - The active collection, as a string.

Scope​

Gateway

Code Examples​

Code Snippet
# This example will return the active collection and print it to a label component on the same view.
activeCollection = system.config.getActiveMode()

self.getSibling("Label").props.text = activeCollection