|
|
Gets the location of an item in the Smartlet folder structure by specifying a path by title.
Syntax
| Smartsite SXML |
|
|---|---|
locator smartlet.getresource(locator root, string path) locator smartlet.getresource(string path) |
|
Parameters
| Name | Data Type | Description |
|---|---|---|
| root | Locator | The root item to look under. |
| path | String |
The relative path (slash-delimited item titles, starting under the given subfolder under the Smartlet root folder). Example: /clientdata/images/image1.png |
Return Value
| Data Type | Description |
|---|---|
| Locator | Locator |