You are here

getChildAssocsByType

getChildAssocsByType(String type) returns an array of the associations from the referenced node that match a specific object type.

Parameters

type
A string representing the specific object type.

Returns

Returns the aspects applied to this node as an array of short prefix qname strings.

Example

var assoc = node.getChildAssocsByType("cm:folder")[0];

Sending feedback to the Alfresco documentation team

You don't appear to have JavaScript enabled in your browser. With JavaScript enabled, you can provide feedback to us using our simple form. Here are some instructions on how to enable JavaScript in your web browser.