OpenWGA 7.7 - TMLScript reference

Design
Method :

getFileContainer()

On object Design
Usage Returns a WGAPI filecontainer object for a container at this designs base reference
Description

This retrieves a file container of the name that is stored in the design contexts base reference.

Use this together with Design.resolve() to retrieve file containers in a way that takes relative WebTML addressions and overlay adressation into account.

Return value WGAPI filecontainer object or null if none was found
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events