PRELIMINARY INFORMATION - SUBJECT TO CHANGE
Adds an Asset Item.
Syntax
Smartsite SXML | Copy Code |
---|---|
boolean cms.asset.additem(locator targetUrl) boolean cms.asset.additem(locator targetUrl, string assetFolderName) |
Parameters
Name | Data Type | Description |
---|---|---|
targetUrl | Locator | The target url. |
assetFolderName | String | The name of the target asset folder. |
Return Value
Data Type | Description |
---|---|
Boolean | True when the asset item has been added; otherwise false. |