OpenWGA 7.0 - TMLScript reference

TMLContext "this"
Method :

hasSiblings()

On object TMLContext "this"
Usage Returns if the current context document has sibling documents
Description The method tests if there is a content documents on the same hierarchy position as the context 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