OpenWGA 7.11 - TMLScript reference

HDBModel
Property :

definition

On object HDBModel
Usage The definition of the HDBModel document hierarchy
Description

This serves a hierarchy of Java data beans which represent the hierarchy definition specified in hdb-model.xml. This can be used to introspect this definition from TMLScript to dynamically react on individual definitions.

The object served is the ModelDefinition object from the WGAPI. It provides methods to further descend into the hierarchy definition.

Writable False
Return value The ModelDefinition object
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events