Url.GetItemCode() Example

This example shows how to retrieve the item code of an url pointing to a CMS item.

Smartsite SXML CopyCode image Copy Code
{url.getitemcode('/doc/Data_used_by_Code_Examples.html')}
Example Result CopyCode image Copy Code
SAMPLEDATA