OpenWGA 7.10 - TMLScript reference

TMLUserProfile "profile"
Method :

setItem(name, value)

On object TMLUserProfile "profile"
Usage Creates or updates a profile item
Description This creates a new item if the given name does not yet exist. Otherwise it updates the item of the given name.

Use Lists as value parameter to store multi value items.
Parameters name (String):
Name of the item

value (Object):
Value of the item

Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
    portletevent