Maximo Open Forum

 View Only

 Maximo Anywhere 764 Upgrade to Maximo Mobile 8

Jump to  Best Answer
  • Mobility
Channakeshava Gode's profile image
Channakeshava Gode posted 06-19-2023 12:38
Hi All,
Has anyone upgraded maximo anywhere 764 to maximo mobile 8? I have few customisations in anywhere and how do we migrate them to mobile 8? 
 
I know that we have MAF (maximo application framework) in mobile 8 with some OOO applications, we can use them or duplicate as per our need. And for upgrade I see that we have to use DIFF and APPLY process. 
 
So is it something like I have to use anywhere corresponding application in mobile 8 or I have to re-implement app.xml from anywhere in mobile 8 to accommodate customisation? Please advise.
Steven Shull's profile image
Steven Shull  Best Answer

The two platforms are unfortunately very different in how the applications are defined. Any configurations you did in Maximo Anywhere will not directly migrate to Maximo Mobile and will need to be evaluated and reimplemented using the new design.

An example is the differences in how to default the insert site on WO creation that I highlighted below.

Maximo Anywhere

You'd define in the JavaScript for the business object an onAdd function like below. This required you extending our core JavaScript using mixin to implement the out of the box logic and your custom logic.

        onAdd : function(workOrder) {
            workOrder.set("siteid", UserManager.getInfo("defsite"));
        },

Maximo Mobile

In the AppCustomizations.js, you can use the onAddNewRecord event to listen for any new records added to any datasource. You can then verify whether it's a datasource you're interested in and modify like:

   onAddNewRecord(event)
   {
     let dataSource=event.datasource;
     if (dataSource.name=="dsCreateWo")
     {
       dataSource.currentItem.siteid=this.app.client.userInfo.insertSite;
     }
   }

In Maximo Mobile the concepts of controllers exist which allows you to tie a controller to a specific page or datasource and it will only fire for that page/datasource. But today we only support AppCustomizations.js for user customization so you'll be listening for these types of events and checking the datasource to execute your logic. 

Channakeshava Gode's profile image
Channakeshava Gode

Thanks, Steven for the explanation with an example.