Environment variables on mobile

You may need to set environment variables for your app.

Set environment variables

Set environment variables for your app must be done in an fglprofile file. This fglprofile file must be located beside the main program module.

To add an environment variable for your mobile app, use the following syntax:
mobile.environment.DBFORMAT="$:,:.:"

Any existing environment variable setting is overwritten by the value set (using mobile.environment.envvarname) in the fglprofile file.

For more details, see Setting environment variables in FGLPROFILE (mobile).

Note: Environment variables set in an FGLPROFILE file are only read when the deployed application runs the mobile device. They are not read during development mode (i.e. when the VM runs on the development machine and the mobile client displays on the device). The FGLPROFILE environment variable settings are only for the VM component and are ignored by the GMA/GMI front-end component.