getComponentChildren()

Availability

Adobe Dreamweaver MX.

Description

This function returns a list of child ComponentRec objects for the active parent ComponentRec object. To load the root-level tree items, this function needs to read its metadata from its persistent store.

Arguments

{parentComponentRec}

  • The parentComponentRec argument is the componentRec object of the parent. If it is omitted, Adobe Dreamweaver expects a list of ComponentRec objects for the root node.

Returns

An array of ComponentRec objects.

Example

See function getComponentChildren(componentRec) in the WebServices.js file in the Configuration/Components/Common/WebServices folder.