OpenWGA 5.4 - TMLScript reference


Object:

Event

Description This object contains information about an OpenWGA content type event. It is only available in code executed on behalf of such an event.

It offers information about the event that was triggered for the event code to use.
Retrieval As object  "event" in event scripts
Allowed in script types
  • Content type events
    portletevent
Properties and methods
Name Purpose
contextObjects Offers additional information about the event, which is specific for the event type, as lookup table
database Returns the WGAPI object WGDatabase representing the content store for which the event was triggered
document Returns a WGAPI object WGContent representing the content document for which the event was triggered