OpenWGA 7.10 - TMLScript reference

WGA » WGA.Server
Method :

getServerOption(name)

On object WGA.Server
Usage Retrieves the value of a server option
Description

These are the server options that an administrator can enter in OpenWGA admin client on menu "Configuration > Basic Settings".

This method uses the registry of the retrieved server option so it can:

  • Provide the value of the option in its native data type that is determined in the registration (so not necessarily a string)
  • If it is not set: Provide the default value of the option that is determined in the registration
Parameters

name (String):

Name of the server option

Return value Value of the server option in its native data type
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events