Front-End function calls
The language allows to execute specific functions on the front-end platform.
A set of built-in front calls is available in Genero front-ends, to execute a specific task on the platform where the front-end executes.
In order to perform a front call, use the ui.Interface.frontCall()
method. For example, when using a mobile
front-end, you can instruct the mobile device to take a picture and return the identifier of the
asset containing the image:
DEFINE path STRING
CALL ui.Interface.frontCall( "mobile", "takePhoto", [], [path] )
For a complete list of available front calls, see Built-in front calls.