gwa.app.getServerVersionAndBuild()
Returns server application version information.
Syntax
FUNCTION getServerVersionAndBuild() RETURNS gwa.app.TAppInformation
Returns a gwa.app.TAppInformation
record with application build version, build
date time stamp, and error.
Usage
Use the gwa.app.getServerVersionAndBuild()
method to make a network request to
the server for index.html and extract the version information. On success, it
returns the server application version and the server build date. On error, the error string is
set.
For a complete example, run the GWA "update" demo in your GWA installation directory. If installed in FGLDIR, you will find the demo in $FGLDIR/demo/update or if installed in a separate directory, you will find it in gwa-install-dir/demo/update.