Gets the default host header of the given channel.

Syntax

Smartsite SXML CopyCode image Copy Code
string channel.hostheaders.getdefault(string channelCode)

Parameters

Name Data Type Description
channelCode String The code of the channel for which you want the default host header.

Return Value

Data Type Description
String

Expand image Example

SXML