Skip to main content

getOptionServer()

Last updated 3/09/2025

The

getOptionServer()
is a function on the
Five
object that returns a value of a server option configured in the Server Options field against the instance of the running application. The key is passed into
getOptionServer()
and this will return the value associated to the corresponding key.

Available

Server

Function Signature
getOptionServer(key: string) : string;

ParameterTypeDescription
key
stringThe server option key to retrieve the value

Return Value

A string representing the value from the key: value pair in the Server Options field on the instance record.

Examples

getOptionServer()