Create a New Mobile App Using the Template App
Create a New Mobile App Using the Template App
The Archibus Mobile apps include a Template app. The Template app can be used as the basis for a new mobile appl. It may be easier to create a new app using the Template app than to generate the app files using the Sencha
generate app
command.
TO create a new app by copying or modifying the Template app.
- Create a new folder for your app in the ../schema/ab-products/common/mobile/src folder.
- Copy the files from the Template folder to the new app folder
-
Edit the
app.json
file.-
Modify the
id
property. Set theid
property to a value that uniquely identifies your app. -
Set the
name
property to the name of the new app.
-
Modify the
-
Edit the
index.html
file.- Set the title attribute to the title of the new app.
- Set the start script function parameter to the app id that was used in step 3.1.
-
Edit the app.js file.
-
Modify the app path configuration in the
Ext.Loader.setPath()
function. Set the app path to the folder containing the new app. - Set the name property to the name of the new app.
-
Modify the
launcher()
function to launch the new app main view.
-
Modify the app path configuration in the