Anda di halaman 1dari 16

In this training module, you learn how to add fields to Maximo Mobile

application screens.

When you have completed this module, you can accomplish these tasks:
Modify Maximo Mobile application XML files
Run importall and packagemobile commands
Restart IBM Maximo Mobile after making XML changes

First, before making any changes, make a backup copy of the Mobile
application XML file. The backup copy is the one that you modify or customize.
In this example, the backup copy file is mobilewo.xml.

Open the Mobile application XML file, mobilewo.xml, to begin making your
customizations. For this example, you add the PMNUM field from the Maximo
WORKORDER table to the work order.

First, register the Maximo WORKORDER field in the corresponding


MobileMBO so that the data can be uploaded to Maximo, downloaded from it,
or both. Within the mobilewo.xml file under the WORKORDER mobilembo,
include a mobilemboattribute tag for PMNUM. Now, MobileMBO can hold the
PMNUM attribute from the WORKORDER MBO.

Next, locate the page in the XML that displays the PMNUM field. In this
example, the WOMAIN page is used. Add the text box with
dataattribute=PMNUM to the page, as shown. Make sure to use a unique
value for the text box ID.

At a command prompt, access the <maximoroot>\mobiletools\maximo folder


and launch the importall.cmd utility. Verify that the importall.cmd runs
successfully.

At a command prompt, access the <maximoroot>\mobiletools\maximo folder


and start the packagemobile.cmd utility. Verify that the packagemobile.cmd
runs successfully.

The login page is displayed when the application opens. Enter a user name
and password and click Go.

When changes are made to the Mobile application XML, you must download
the latest version of the Mobile application. Click either Yes or Install to
download any or all of the customizations that were made.

10

After the Mobile application updates are downloaded to the device, you get a
message to perform a full refresh of all device data. Click OK to perform the
full refresh.

11

IBM Maximo Mobile Work Manager is ready for use after the full refresh is
complete. Verify that the Work List displays the correct number of records that
are downloaded to the device.

12

From the Mobile start center, click Work List to open the list of WO records on
the device. Open the WO record to confirm that the PMNUM screen changes
were successful. This slide shows the record before and after the changes.
The PM text box is now blank.

13

Now that you have completed this module, you can accomplish these tasks:
Modify Maximo Mobile application XML files
Run importall or packagemobile commands
Restart IBM Maximo Mobile after making XML changes

14

15

16

Anda mungkin juga menyukai