Sets a Channel state value.

Syntax

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

Parameters

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

Return Value

None.

Expand image Example

SXML