Skip to main content
1 of 3

Yo could try yo get yor publication and then the child publications this way:

var parent_pub = $models.getItem("tcm:0-2-1");
var list = parent_pub.getListChildPublications();

Then iterate the resulting list to do something to every publication objects.