OpenWGA 7.0 - TMLScript reference

Lookup table
Method :

containsKey(key)

On object Lookup table
Usage Tests if the table contains an element with the given key
Parameters key (Object):
Key to test
Return value true, if an element of the key exists, false otherwise (Boolean)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events
    portletevent