OpenWGA 7.10 - TMLScript reference


Object:

Domain

Description This object represents an OpenWGA domain, an entity which collects OpenWGA databases to use some shared functionality, most prominently the same authentication.
Retrieval

Database.domain()

WGA.domain()

Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events
Properties and methods
Name Purpose
databaseKeys Returns a List of database keys of all OpenWGA databases in this domain, including apps and data sources
appKeys Returns a List of database keys of the OpenWGA applications in this domain, excluding data sources
auth() Returns an Auth object providing authentication services for this domain
dataSourceKeys Returns a List of database keys of all OpenWGA data sources of this domain, excluding full applications
name Returns the name of the domain