PRELIMINARY INFORMATION - SUBJECT TO CHANGE
Returns the first item of the given contenttype under the given parent.

Syntax

Smartsite SXML CopyCode image Copy Code
locator cms.getchild(locator reference, string contenttypeIdentifier)
locator cms.getchild(locator reference, string contenttypeIdentifier, string channelIdentifier)

Parameters

Name Data Type Description
reference Locator The item reference.
contenttypeIdentifier String The contenttype of the item to return.
channelIdentifier String Set to true for channel specific/mapped items

Return Value

Data Type Description
Locator Locator
SXML