OpenWGA 7.10 - TMLScript reference

TMLContext "this"
Method :

hasChildren()

On object TMLContext "this"
Usage Returns if the current context document has child documents
Description The method tests if there is a child content document in any relevant language for the current user. It does not test if that document may be hidden in the current navigation artefact, like a navigator or a sitemap.
Return value (Boolean)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events