OpenWGA 7.9 - TMLScript reference

WGA
Method :

createLookupTable([object])

On object WGA
Usage

Creates a new Lookup table

For backward compatibility there still is a method "createLookupTable()" available on TMLContext whose use is discouraged since OpenWGA 5.3.

Parameters

object - optional

a javascript Object or a java.util.Map object.

Return value The created Lookup table
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events
Examples

WGA.createLookupTable({a:1, b:2})

Create a lookup table with the two elements "a" and "b".