Neolane - JavaScript API - v6.1.0

Unknown
children
Returns an object for which each property is a child node indexed by its name.
children
Remarks
Example:
var schema = application.getSchema("nms:recipient")
var root = schema.root

logInfo(root.children["@firstName"].label)
logInfo(root.children.country.label)

// root.children is a map which :
//   each key is the name of the child
//   each value the corresponding SchemaNode instance
for each(var node in root.children)
{
  logInfo(node.label + " (" + node.type + ")")
}
Features
Property of class: SchemaNode
Read only: Yes
Available in:
  • Content management
  • Delivery properties
  • Typology rule
  • JSSP
  • SOAP Method
  • WebApp
  • Workflow

jsapi-en

previous page start next page