srmobile. Such an app has to be simple for somebody who uses it twice a year. We used it with three demo requests and counted its source in our MAF editor.MAS 9.2 series case study
We looked at the app on our test system, on the MAS 9.2 series. The numbers belong to that release and change with every new version of the app, so read them as a size. This case study follows the same plan as TECHMOBILE - The Technician App, and its table carries the numbers of Technician for comparison.
A request in four screens#
The app opens with the requests of the signed-in user that are still active. Each card shows the status, the priority, the text of the request and the day it was reported.

A tap on a card opens the request, with its asset and its location, its comments and its attachments. One row leads to similar service requests.
The plus button starts a new request. The app first asks for a category, with pictures: restrooms, meeting rooms, lighting. A user who finds no fitting category can describe the request in free words. Then follows a short form: two switches, for a high priority and for a safety hazard, and rows for the details, the place and the attachments.
Simple for the user, dense in the source#
The categories in our frame are data. They come from the classifications of IBM’s demo data, and the app shows what it finds there. So the first screen of a new request is configured in Maximo Manage.
The form behind it is dense. The numbers show it:
| Part | Service Requests | Technician |
|---|---|---|
| Pages | 9 | 28 |
| Datasources | 52 | 148 |
of these: maximo-datasource | 27 | 89 |
of these: maximo-datasource-override | 14 | 24 |
of these: json-datasource | 11 | 35 |
| Object structures | 14 | 26 |
| Dialogs | 28 | 91 |
| Sliding drawers | 0 | 22 |
| States | 233 | 147 |
| Controller classes | 19 | 50 |
| Methods in these classes | 196 | 1,012 |
| Ways from one page to another | 39 | 65 |
Lines in app.xml | 1,419 | 6,133 |
| Lines in all XML files | 1,990 | 9,932 |
| JavaScript files, without tests and mock data | 31 | 118 |
| Lines in these JavaScript files | 7,391 | 43,613 |
Both apps as shipped with our system of the MAS 9.2 series, where Service Requests is app version 9.2.133 and Technician is app version 9.2.124. The lines are counted with wc -l over the source folder, the other rows by the structure view of our MAF editor.
Two things stand out against Technician, which is the far larger app.
The states stand out first. Service Requests declares 233 states, and Technician 147. A state is a named value that the page keeps and that the markup can bind to. The form of a new request alone declares 143 of them.
The ways per page come second. Nine pages are connected by 39 ways. Technician has about two ways per page, and this app has more than four. The pages of a new request lead to each other in many combinations: forward, back, and across.
Where the weight sits#
| Page | Datasources | Dialogs | States |
|---|---|---|---|
| the form of a new request | 6 | 20 | 143 |
| the list of active requests | 1 | 2 | 5 |
| one request | 1 | 2 | 2 |
| the six other pages together | 0 | 1 | 2 |
Parts declared on the page itself, in the same version of the app on the MAS 9.2 series. Another 3 dialogs belong to the application, and so do the datasources and states that no row shows.
One page carries the app. The form of a new request holds 20 of the 28 dialogs and well over half of all states. Its controller is the largest class, with close to a hundred methods, about half of all methods in the app.
The dialogs of the form are mostly lookups: for a person, a location, an asset, and for values of several kinds of domains. Two dialogs warn when an asset and a location do not fit together. Others confirm that the user wants to submit or to discard.
For a project this is the key fact. A change to the list or to the page of one request is small. A change to the form of a new request touches a page that declares almost as many states as the whole Technician app. Read the page and its controller in full before you add a field there.
How the pages connect#

The list is the place the user returns to. Seven pages can be reached from it, and the form alone leads back to it in four ways. Between the list and the form stand up to three pages that narrow the request: the category, a sub-category and a type.
What the app asks of Maximo#
- Classifications. The categories of a new request are data, maintained as classifications in Maximo Manage.
- The object structures. The app reads through about 14 of them.
mxapisrcarries the requests. The others deliver assets, locations, persons, ticket templates, a watch list and the domains. - System properties. The app declares about a dozen of them.
- Users outside maintenance. The people who report a problem often work outside the maintenance team. Plan their accounts and their rights early.
What to read next#
TECHMOBILE - The Technician App shows the app that works on what this app reports. State Management explains the states that fill the form page of this app.
IBM describes the Service Requests app in the documentation of Maximo Mobile. Classifications are maintained in the Classifications application of Maximo Manage.
