Returns a link to the root of the current channel.

Syntax

Smartsite SXML CopyCode image Copy Code
locator channel.link()
locator channel.link(locator item)
locator channel.link(locator item, boolean isRelative)

Parameters

Name Data Type Description
item Locator The item code or number.
isRelative Boolean True if the path must be relative, false if it must be absolute.

Return Value

Data Type Description
Locator Url to the root item.

Expand image Examples

SXML