OpenWGA 7.10 - TMLScript reference

TMLContext "this"
Method :


On object TMLContext "this"
Usage Returns a WGAPI database object for the database of the current context

The method may return OpenWGA content stores as well as data sources.

To retrieve the database object for a special database key use the method WGA.db() instead.

Return value The database of the current context (WGAPI objekt WGDatabase)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events