OpenWGA 7.11 - TMLScript reference

TMLPortlet "portlet"
Method :

setItem(name, value)

On object TMLPortlet "portlet"
Usage Sets an item in portlet configuration
Description This creates a new item if the given name does not yet exist. Otherwise it updates the value of the existing item.

If you want to set a multi value item use a list as value parameter.
Parameters name (String):
Name of item to set

Value of the item

Allowed in script types
  • WebTML pages and normal WebTML actions