OpenWGA 5.4 - TMLScript reference

Lists
Method :

list.add([index, ] wert)

On object Lists
Usage Adds a value to the list
Parameters index (Number, optional):
The index position at which the value is inserted. The value that previously had this index and all following values are moved at the next higher index position. Omit this parameter to append the new value at the end of the list.


wert:
The value to append

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