OpenWGA 5.4 - TMLScript reference

Method :

list.set(idx, wert)

On object Lists
Usage Sets a value at an index position
Description This replaces the value that was at that index position before. All other index positions therefor remain intact.

An error is thrown If a position is specified that is not yet available in the list.
Parameters idx (Number):
Position at which to set the value

Value to set

Return value The value that was stored at the given index position before
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events