OpenWGA 7.10 - TMLScript reference

List
Method :

add([index, ] value)

On object List
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.


value:
The value to be added.

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