IsStaging

The IsStaging()function checks if the portal is being used in the Staging Runtime environment.

This function allows you to make certain features available only in the Staging environment. For example in a "Visible when" property of a navigation item, or even using a Decision Node in a flowchart to make a detour.

This function is SQL compatible. For more information about SQL compatibility, see our documentation.

Returns yes/true if the portal is being used in the Staging Runtime environment.

Returns no/false otherwise (preview or live).

Syntax

IsStaging()

IsPreview() => Yes, if portal is being used in the Staging environment, No otherwise (preview or live)

Last updated