The app file contains a set of properties that defines the mobile app. Here is the list of available properties.
Property | Description | Example |
---|---|---|
title | The main title of the app. It will be displayed e.g. on the sign-in form. | “Mobile Warehouse” |
subtitle | The second title of the app. It will be shown as smaller text below the title. | “DC1” |
link | The URL path to the app relative to the web server context where the app is published. Example: server.company.com:8090/myapp | “/myapp” |
modules | A list of modules with forms for the app. The order of the list determines the search order for the forms. See more in Modules section. | [“custom”,“base”] |
menu | The root menu id. This is an optional property. When specified, the app menu will be provided by the API method: applicationMenu.get. This way, the menu structure may be backend-system driven. If the property is not specified, the client will load the menu from the app’s menu.json file. | “MWHS” |
version | The version of the app. It will be displaed e.g. on the sign-in form | “1.0.0.2” |
browserReload | When set to false the browser’s page reload function will be disabled (F5). This option may be helpful in some situations when accidental reloads occur often on some devices. Optional, default is true - reload enabled. | false |
onSessionClose | API method name that will be run when signing off from the app. May be useful for e.g. automatic release of resources. Optional. | “resourceRF.release” |
css | Custom client theme. Currently creating own style sheets is not supported yet. | “mytheme.css” |
Example of Mobile Warehouse app file
{
"title": "Mobile Warehouse",
"subtitle": "DC1",
"link": "/mw",
"modules": [
"base-A", "base"
],
"menu": "MWHM",
"version": "2.1.0.0",
"browserReload": false,
"onSessionClose": "resourceRF.release"
}