app.json

The app file contains a set of properties that defines the mobile app. Here is the list of available properties.

PropertyDescriptionExample
titleThe main title of the app. It will be displayed e.g. on the sign-in form.“Mobile Warehouse”
subtitleThe second title of the app. It will be shown as smaller text below the title.“DC1”
linkThe URL path to the app relative to the web server context where the app is published. Example: server.company.com:8090/myapp“/myapp”
modulesA 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”]
menuThe 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”
versionThe version of the app. It will be displaed e.g. on the sign-in form“1.0.0.2”
browserReloadWhen 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
onSessionCloseAPI 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”
cssCustom 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"
}