Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

getChildren()

Updated on July 20, 2021

Obtains the list of children for the current component. The iterator is also reset to the beginning of the index.

Returns

An object containing the list of children.

Parameters

This API does not have parameters.

Usage example

In this example, the API retrieves the list of child components from the current component. This list is stored in the children variable.

const children = getPConnect().getChildren();

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us