OpenWGA 7.7 - TMLScript reference
DesignMethod :
resolveSystemFileContainer(name [, fallback])
On object | Design |
Usage | Finds a file container in the OpenWGA system resources folder of this design |
Description |
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 file container under the following design names - based on the name parameter given - in the given priority order:
|
Parameters |
name (String): Relative design name of the file container to search (omitting the system resource prefix "wga:") 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 |
|