assetmobile. The app is small next to Technician, and it is built in a different way. We used it with IBM’s demo data 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 tables carry the numbers of Technician for comparison.
An asset in three screens#
The app opens with a list. Each card shows the number and the description of an asset, a picture when the asset has one, and its service address. A tap opens the asset.

The details page shows the status of the asset, its picture, its classification, its location, the vendor and the manufacturer. Further down it leads to the audit details, the work on this asset, the history of its status, the attachments and the related records.
The pencil opens the edit page. Many fields there have a helper: a scan button for the serial number, and a lookup for the type, the vendor and the manufacturer. Further down follow the classification and the location.
Why “My assets” can be empty#
The selector of the list has two entries in our system: “My assets” and “Assets created by me”. We opened the app as our administrator, and the list read “No assets found”.
The data was there. Our test site has many thousand assets. The list “My assets” shows the assets of your own default site for which you are the custodian. Our administrator was custodian of no asset. We made that person the custodian of five demo assets, and the list showed these five.
This is the first thing to check when a user reports an empty Assets app. Open the asset in Maximo Manage and look at its users and custodians. For a different rule, such as all assets of a site or of a crew, the list needs another saved query. Saved Queries and Filters explains that part.
The app in numbers#
We opened the source of the app in our MAF editor. Its structure view resolves every included file and counts the app as the build sees it:
| Part | Assets | Technician |
|---|---|---|
| Pages | 6 | 28 |
| Datasources | 56 | 148 |
of these: maximo-datasource | 37 | 89 |
of these: maximo-datasource-override | 10 | 24 |
of these: json-datasource | 9 | 35 |
| Object structures | 15 | 26 |
Datasources that name mxapiasset | 10 | |
| Dialogs | 51 | 91 |
| Sliding drawers | 9 | 22 |
| States | 29 | 147 |
| Controller classes | 17 | 50 |
| Methods in these classes | 377 | 1,012 |
| Ways from one page to another | 10 | 65 |
Lines in app.xml | 2,465 | 6,133 |
| Lines in all XML files | 3,185 | 9,932 |
| Lines of JavaScript, without tests and mock data | 8,892 | 43,613 |
Both apps as shipped with our system of the MAS 9.2 series, where Assets is app version 9.2.141 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.
Assets has about a fifth of the pages of Technician and about a fifth of its JavaScript. The number of dialogs does not shrink in the same way: Assets has more than half as many dialogs as Technician, on six pages.
Where the weight sits#
| Page | Datasources | Dialogs | Drawers |
|---|---|---|---|
| create an asset | 2 | 18 | 0 |
| edit an asset | 3 | 18 | 0 |
| the asset details | 7 | 3 | 9 |
| the list, the attachments and the calibration label together | 4 | 1 | 0 |
Parts declared on the page itself, in the same version of the app on the MAS 9.2 series. Another 11 dialogs belong to the application, and so do the datasources that no row shows.
Two pages carry the app: the one that creates an asset and the one that edits it. Each has close to twenty dialogs, and most of them are lookups for the fields of the form. The two largest controller classes belong to these pages, each with about 100 methods.
For a project this has a plain meaning. A new field on the details page is a small change. A new field that the user can edit touches two pages that are almost twins: the create page and the edit page. Plan every such change twice, and test it twice.
How the pages connect#

The map of this app fits on one screen. The details page is the centre. The list leads to it, and the create page and the edit page come back to it. From there the user goes on to the edit page, the attachments and a page for a calibration label.
What the app asks of Maximo#
- The object structures. The app reads through about 15 of them.
mxapiassetis named by more datasources than any other. The others deliver locations, items, vendors, failure codes, service addresses and the domains for the value lists. - A custodian. The main list is empty for a person who is custodian of no asset, as shown above.
- The rights to change an asset. The app creates and edits assets, so its users need more rights on assets than a technician who only reads them.
What to read next#
TECHMOBILE - The Technician App is the large counterpart of this app. The cookbook recipe Lookup Field builds the kind of lookup that fills the two form pages of Assets.
IBM describes the Assets app and its functions in the documentation of Maximo Mobile. The users and custodians of an asset are maintained in the Assets application of Maximo Manage.
