OpenWGA 7.11 - TMLScript reference

Lookup table
Method :

remove(key)

On object Lookup table
Usage Removes the element of the given key from the table
Description The value of removed element is returned by this method.

This method does nothing if no element with the given key exists.
Parameters key (Object):
The key of the element to remove
Return value The value of a removed element or null if no element of the given key existed
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events
    portletevent