Gets the current smartlet id.

Syntax

Smartsite SXML CopyCode image Copy Code
string smartlet.id()
string smartlet.id(string elementId)

Parameters

Name Data Type Description
elementId String The element id.

Return Value

Data Type Description
String The id of the Smartlet currently executing
SXML