OpenWGA 5.4 - TMLScript reference


Object:

Plugin

Description

The "Plugin" object provides information about an installed OpenWGA plugin

OpenWGA plugins extend the OpenWGA server in numerous ways, including new application designs, TMLScript functionalities, authentication sources and many more. This is an information object about the data and state of an installed and active OpenWGA plugin.

Retrieval

WGA.plugin()

Design.plugin()

Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events
Properties and methods
Name Purpose
db() Returns the WGAPI database object for the plugin application
name Returns the unique name of the plugin
version Returns an object holding the version of the plugin