IsStaging

circle-info

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.

circle-check

Syntax

chevron-rightIsStaging()hashtag

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

Last updated

Was this helpful?