Gets channel state by key.

Syntax

Smartsite SXML CopyCode image Copy Code
any channel.state.get(string key)
any channel.state.get(string channelCode, string key)

Parameters

Name Data Type Description
key String The key.
channelCode String The channel.

Return Value

Data Type Description
Any Object

Expand image Example

SXML