OpenWGA 7.9 - TMLScript reference

TMLContext "this"
Method :

getFileData(filename[, derivate])

On object TMLContext "this"
Usage Returns an input stream containing the requested file data.

filename (String)

The name of the file

derivate (String, optional)

Optional derivate query

Writable False
Return value input stream
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events