OpenWGA 7.9 - TMLScript reference

TMLContext "this"
Method :

db()

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

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.

Parameters
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