Profile file is JSON based configuration file for each mobile application to support the process of generation HTML (views) and JavaScript (controllers) files for given app. It is important for developer working with JForms. Defining the profile they can decide which dispatcher (and thus what metadata) is used to generate the app.
The profile files are placed in /XT/aperio/development/profiles folder.
To add new profile just create JSON file with suitable elements and put it into folder where other profiles reside.
List of active profiles (profile names comma separated) may be set in UI server configuration panel at XT Admin:
The list can correspond with the profiles in the folder where the profile files reside:
Profile folder content example
To make it running use apply option or restart XTUI Server:
Apply option on XTUI Server
The top level element is an array with profile entities.
Entity is an object which holds the following elements (attributes):
“app” and “mod” attributes are used interchangeably. The path can be absolute or relative to folder were mobile applications reside.
[
{
"app": "C:\\XT\\aperio\\apps\\mobApp1",
"environment": {
"dispatcher": "DC1_11",
"params": {
"companyCode": "DV"
}
}
},
{
"mod": "C:\\XT\\aperio\\apps\\mobApp1\\mods\11_50",
"environment": {
"dispatcher": "DC1_1150",
"params": {
"companyCode": "DV"
}
}
}
]