OpenWGA 7.10 - TMLScript reference

TMLContext "this"
Method :

getPrimaryFileName()

On object TMLContext "this"
Usage Returns the name of the primary attachment or null if there is none.
Writable False
Return value file name or null
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events