OpenWGA 7.10 - TMLScript reference


Object:

WGA

Description

The object "AFW.Util" collects utility functions that are part of the basic TMLScript platform. 

Retrieval Global object named "AFW.Util" available in all scripts
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events
    portletevent
Properties and methods
Name Purpose
csvReader(config) Returns a TMLScript object to read csv data from a file or inputstream.
csvWriter(config) Returns a TMLScript object to write csv data to a file or outputstream.
dateRange(date1, date2) Returns a human readable string for the date range.