OpenWGA 7.11 - TMLScript reference

Design
Method :

fileURL(fileName)

On object Design
Usage Used to retrieve the URL of a file in the designs file container
Parameters fileName (String)
Return value URL to the requested file
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events
Examples

WGA.design().resolve("images").fileURL("logo.png")