OpenWGA 7.10 - TMLScript reference
TMLContext "this"Method :
isWebEnvironment()
On object | TMLContext "this" |
Usage |
Returns if the current TMLScript code is executed in the context of a WebTML request |
Description |
This method is useful for global functions that need to determine if they are executed in a web environment or not, and therefor the environment will provide a different level of available functionalities. This method will only return true, if the current script is either executed directly on the WebTML page or in a normal WebTML action. Both have full access to the environment of this request. |
Allowed in script types |
|