getDisplayState (Client API reference)

Applies to Dynamics 365 (online), version 9.0

Retrieves the display state for the business process control.

Syntax

formContext.ui.process.getDisplayState();

Return Value

Type: String.

Description: Returns "expanded" or "collapsed" on the web client; returns "expanded", "collapsed", or "floating" on Unified Interface.

setDisplayState

formContext.ui.process