Gets the current smartlet location.

Syntax

Smartsite SXML CopyCode image Copy Code
locator smartlet.location()
locator smartlet.location(locator location)
locator smartlet.location(boolean forceBase)

Parameters

Name Data Type Description
location Locator The location.
forceBase Boolean If set totrue, the base Smartlet (the Smartlet with the shortest name in the folder) name is retrieved.

Return Value

Data Type Description
Locator The location of the Smartlet in the current folder
SXML