OpenWGA 7.2 - TMLScript reference

List
Method :

contains(wert)

On object List
Usage Controls if a value is contained in the list
Description This method is case sensitive on strings. list.contains("value") will not return true if only "Value" is contained.
Parameters wert:
The value to test
Return value true if the value is contained, false otherwise (Boolean)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events
    portletevent