OpenWGA 7.0 - TMLScript reference

TMLUserProfile "profile"
Method :

hasItem(itemname)

On object TMLUserProfile "profile"
Usage Tests if an item is available
Parameters itemname (String):
Name of the item
Return value true if the item exists, false otherwise (Boolean)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
    portletevent