OpenWGA 7.11 - TMLScript reference

TMLPortlet "portlet"
Method :

item(name)

On object TMLPortlet "portlet"
Usage Returns the value of an item from portlet configuration
Description This method only returns single values. If it is used to read multi value items it will only return the first value. To read complete multi value items use portlet.itemList().

There is a shortform syntax to this method documented on the TMLPortlet object.
Parameters name (String):
Name of the item
Return value Value of the item
Allowed in script types
  • WebTML pages and normal WebTML actions
    portletevent