Returns the item code the given location maps to, if any.
Syntax
Smartsite SXML | Copy Code |
---|---|
string url.getitemcode(locator location) |
Parameters
Name | Data Type | Description |
---|---|---|
location | Locator | The location url. |
Return Value
Data Type | Description |
---|---|
String | The item code of the Cms item, if the location maps to an item. |