Skip to content

blueprint.addChild deprecated ​

Adds an element to a blueprint as the child of another element.

js
blueprint.addChild(name, parentName, childName, weight)

Parameters ​

ParameterTypeDescription
namestringThe blueprint's name.
parentNamestringThe parent element's name.
childNamestringThe child element's name.
weightnumberOptional. 1 to add the child into the parent, or -1 to subtract it. Defaults to 1.

Examples ​

js
blueprint.addChild("Default", "All Accounts", "Revenue");