↓ Skip to main content
A low-poly picture of five teal machines in a row on a pale floor: a pump, a fan unit, a fire extinguisher, an electric motor and a small round tank. Each machine carries one orange tag on a string.

ASSETMOBILE - Asset Management

Assets is the Maximo Mobile app for the people who look after equipment: they find an asset, read its data, correct it, and add a new one on the spot. Its application id is 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.

Three screens of the Assets app. First, the list “My assets” with 5 records: asset 1001, a fire extinguisher, and asset 11200, an HVAC system with a small picture. Second, the page “Asset Details” for the HVAC system 11200: the tags “Up” and “Not Ready”, striped bars in place of a parent asset and a service address, a large picture of an air duct, and below it the classification HVAC. Third, the page “Edit Asset”: the description, the asset number 11200, the serial number 3481-52 with a scan button, and fields for type, vendor and manufacturer, each with a lookup button.
The list, the details of one asset, and the page that edits it

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:

PartAssetsTechnician
Pages628
Datasources56148
of these: maximo-datasource3789
of these: maximo-datasource-override1024
of these: json-datasource935
Object structures1526
Datasources that name mxapiasset10
Dialogs5191
Sliding drawers922
States29147
Controller classes1750
Methods in these classes3771,012
Ways from one page to another1065
Lines in app.xml2,4656,133
Lines in all XML files3,1859,932
Lines of JavaScript, without tests and mock data8,89243,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
#

PageDatasourcesDialogsDrawers
create an asset2180
edit an asset3180
the asset details739
the list, the attachments and the calibration label together410

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 panel of the MAF editor for the Assets app. The top line reads 6 pages, 10 ways, 1 call named at run time. The page assetDetails is selected. Under “Goes to” it lists editasset, attachments and generateCalibrationLabel, with the controller file and line of each call. Under “Comes from” it lists the app with 2 ways, createasset with 2 ways, editasset with 2 ways and assetlist. Below, the list of all six pages.
The asset details in the page map of our MAF editor

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. mxapiasset is 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.