OpenWGA 7.9 - TMLScript reference

TMLContext "this"
Method :

isRoot()

On object TMLContext "this"
Usage Returns if the current context document is a root document
Description A root document is a content document that has no parent and is at the "root" of a website area.
Return value (Boolean)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events