Returns the item number the given location maps to, if any.

Syntax

Smartsite SXML CopyCode image Copy Code
integer url.getitemnumber(locator location)

Parameters

Name Data Type Description
location Locator The location url.

Return Value

Data Type Description
Integer The item number of the Cms item, if the location maps to an item.

Expand image Example

SXML