OpenWGA 7.2 - TMLScript reference

TMLUserProfile "profile"
Method :

metaList(name)

On object TMLUserProfile "profile"
Usage Returns the value of a metadata field as list
Description Lookup the name of available metatadata fields on WebTML metadata reference , type "profile".

This method only returns Lists of values. If it is used to read a single value field it returns a list containing the single value.
Parameters name (String):
Name of the metadata field
Return value List of values of the metadata field, an empty list if the item does not exist
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
    portletevent