OpenWGA 7.7 - TMLScript reference

WGA
Object:

WGA.Utils

Description

The subobject "Utils" provides direct access to the WGAPI utility object WGUtils.

The WGUtils object is a Java object offering diverse utility methods for various purposes. Most frequently used are:

  • string manipulation methods like serializeCollection(), deserializeCollection(), reduce() or strReplace()
  • date manipulation methods like dateOnly() or timeOnly()
Retrieval As global object "WGA.Utils"
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events
Properties and methods As WGUtils is a WGAPI object its properties and methods are not documented here but in the WGAPI reference.