OpenWGA 7.10 - TMLScript referenceDesign
resolveSystemTMLModule(name, mediaKey [, fallback])
|Usage||Finds a WebTML module in the OpenWGA system resources folder of this design|
This method is used to lookup OpenWGA system resources in an OpenWGA design which have special meaning and purpose based on their name. It is used by OpenWGA functionality internally to find those resources.
The parameter "fallback" can be set to true to find system resources outside the "wga" folder, if this once was a valid location for earlier OpenWGA versions.
The method searches for a WebTML module under the following design names - based on the name parameter given - in the given priority order:
Relative design name of the system WebTML module to search (omitting the system resource prefix "wga:")
Media key of the searched WebTML module, for example "html"
fallback (Boolean, optional):
Determines if OpenWGA should also search outside "wga" folder. Defaults to false if omitted.
|Return value||A Design object pointing to the found resource or null if it was not found|
|Allowed in script types||