OpenWGA 7.10 - TMLScript reference

Design
Method :

unregisterGlobal(globalName)

On object Design
Usage Removes a TMLScript global
Description

This method is intended to remove previously registered TMLScript globals when they should become unavailable, for example on disconnecting the app/plugin which provides the functionality.

This is only necessary for TMLScript globals of real global scope. TMLScript globals of app scope (like registered with Design.registerDbGlobal()) are automatically cleared once their scope app disconnects.

Parameters

globalName (String):

The name of the global. This should be the same name by which it was registered.

Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events