Gets the name of the current smartlet.
Syntax
Smartsite SXML | Copy Code |
---|---|
string smartlet.name() string smartlet.name(boolean forceBase) string smartlet.name(string element) string smartlet.name(string element, boolean forceBase) |
Parameters
Name | Data Type | Description |
---|---|---|
forceBase | Boolean | If set totrue, the base Smartlet (the Smartlet with the shortest name in the folder) name is retrieved. |
element | String | The element. |
Return Value
Data Type | Description |
---|---|
String | String. |