app.xml, because every tutorial says that this is where the application lives. What you find is forty lines, and you expected about two thousand. Nothing is wrong with your download. In the 9.2 series, app.xml stopped being the application.MAS 9.2 series framework 3.2.8xx
The forty-line surprise#
TIMESHEET is the newest app IBM ships with Maximo Mobile. It is also the smallest, which makes it the best possible thing to read first. Here is its whole shape:

TIMESHEET as our MAF editor shows it: the files on the left, and on the right what the build will put together from them. The counts below come from the same reading.
Lines in app.xml | 40 |
| Pages | 2 |
| Controller files | 5 |
| Dialogs | 0 |
| Datasources | 7: four Maximo datasources, two overrides and one JSON datasource |
Forty lines of app.xml for a working, shipping application with two screens. If you learned MAF on MAS 9.1, that number is wrong by two orders of magnitude. A 9.1-era app put everything in one file, and a mid-sized one ran to three thousand lines.
Nothing was removed from these apps. The content only moved into other files.
What app.xml is now#
Think of app.xml as the table of contents of the book. It holds exactly five things:
- The application root and its attributes: the app id, its type, its logging level.
- Application-level state: values every page can read.
- Application-scoped datasources: the lookups shared across pages, so they load once.
- The navigation menu.
- A list of page references, each pointing at a separate file.
Below is a minimal one. We did not take it from IBM. We wrote it from scratch as the smallest manifest that still compiles, so that you can read every line of it:
<maximo-application id="fitools" mas-id="manage" default-log-level="error">
<states id="app_states">
<state name="selectedSite" value="" type="string" id="st_site"/>
</states>
<maximo-datasource id="siteLookupDS"
object-structure="mxapisite"
lookup-data="true"
selection-mode="single"/>
<menu id="app_menu">
<menu-item id="mi_list" page="assetlist" label="Assets"/>
</menu>
<pages id="pages">
<page id="assetlist" path="/assetList" file="./maml/pages/assetListPage.xml"/>
<page id="assetdetails" path="/assetDetails" file="./maml/pages/assetDetailsPage.xml"/>
</pages>
</maximo-application>That is the whole pattern. Every 9.2 app you open will have this shape, with more entries in each section.
The attribute to look at is file on <page>. It is what holds this application together, and there is no new element behind it. The same attribute exists on a handful of other containers, dialogs and templates among them, and IBM’s shared library comes in through the same door with a maximo: prefix. Understanding app.xml walks through all three shapes of include.
Where the rest went#
Each page reference points at a complete, self-contained page document. Next to them sits a controller tree, organised by role instead of dumped into one folder:
YOURAPP/
├── src/ ← the real source. Author here.
│ ├── app.xml ← the manifest. Small.
│ ├── AppController.js
│ ├── maml/
│ │ └── pages/
│ │ ├── assetListPage.xml ← a complete <page> document
│ │ └── assetDetailsPage.xml
│ ├── controllers/
│ │ ├── pages/ ← page controllers
│ │ └── datasources/pages/ ← datasource controllers
│ ├── utils/
│ ├── i18n/labels.json
│ └── test/
├── ibm-config/ ← NOT source. See the warning below.
├── build.json ← app version, route, tile order
└── package.jsonEach file under maml/pages/ repeats its own id and path and then carries everything page-scoped: that page’s datasources, its state, its controller reference, and its entire UI tree. Paths inside those files are written relative to src/, so the folder of the page file plays no role, and this catches most people on their first edit.
The composition happens at build time#
This part is important to understand, because it explains several confusing symptoms later on.
The build merges every page file into a single flattened bootstrap. At runtime there is no include mechanism and no notion of separate page files. The modular layout is an authoring convenience that exists only in your source tree.
Two things follow directly from that. First, an id must be unique across the whole merged application, which is a wider scope than its own file. Second, a broken reference in one page file shows up as a build error with a line number in a file that you never edited.
Which file do I open?#
ibm-config/src/ looks exactly like source and is not. It is a byte-identical snapshot of src/, complete with its own app.xml and maml/ tree, written by the build tooling with a per-file checksum manifest. It exists for tamper detection, and all authoring happens in src/.
If you edit it, nothing happens. You also get no error message, and that is why this problem costs an afternoon instead of a minute. Always author in src/.
If you learned this on 9.1#
One app.xml holding the entire application: every page, every datasource, every dialog, the whole UI tree. Controllers sat flat in src/ beside it.
That was readable at three hundred lines. At three thousand lines it became genuinely difficult, and merge conflicts were constant, because every change touched the same file.
app.xml is a manifest. One complete page document per screen under maml/pages/, controllers in a role-based tree under controllers/.
Two people can now work on two screens without touching the same file. The build flattens it all back into one bundle, so the runtime is unchanged.
One caution about how far to take this. The modular layout is what IBM’s newest app uses and what the 9.2 toolchain supports, but it is no requirement. We have not established that a 9.2 app must be authored this way. So if you work on an app that arrived as one large file, it is simply older, and it builds the same way. In the 9.2 series only a minority of the shipped apps use the page reference, and TECHMOBILE mixes both forms in one file.
One more detail about versions, because version skew is a real problem here. We read this against a framework in the 3.2.8xx line, and TIMESHEET’s own package.json declared a later build of the same line. Check what your own app declares before matching anything to a reference.
What to read next#
You can now find your way around an app. The next question is what all that markup actually means, and then how to get one of your own running.
Next in this series: MAML Basics, then Hello World in Maximo Mobile.
IBM ships its own developer documentation with every MAS install, and most people never find it. In the Application Configuration application, open the ? menu in the top right and choose Developer Documentation and Component Documentation. It is thin in places, which is partly why this series exists, but it is the authoritative reference for the elements named above.
