IBM Maximo Mobile is available with Maximo Application Suite (MAS) which provides the ability for users to work on Work Orders, Inventory and others based on access. Many times, customer has different processes which need customization into Maximo Mobile functionality.
Add new field with lookup value into Edit Work Order
Maximo Mobile provides ability to edit the existing work order available in My Schedule page. This is how out of the box work order edit screen looks like-
In this requirement, customer X wants to add new field Owner Group into detail page of Work Orders after work type field. On clicking of this field, customer shall be able to see list of Owner Groups available in Maximo and shall be able to select one of them.
Steps to follow-
Open Maximo Application Framework (MAF) by starting the docker image and duplicate application TECHMOBILE. Once application is duplicated access TECHMOBILE application via Maximo Application Framework (MAF) in browser.
First step is to go to Maximo > Object Structure application and search for MXWOAPIDETAIL. Open this and from select action - Exclude/Include attribute, uncheck the checkbox on Work Order object’s OWNERGROUP field.
Now open app.xml of Maximo Mobile in MAF and search for xml tag-
Under this
Next step is to add lookup to display the list of owner groups. For this search tag -
Under this add entry given below-
Search for tag
Above it place tag as given below to add Owner Group field and add lookup created in earlier step with it.
Click on Save button to save XML.
If you click on Preview button, you will be able to see Owner Group field added after Work Type field.
Clicking on field will show the list of Owner Groups available in Maximo.
Conclusion
As shown in steps above, using XML tags, a field Owner Group can be added. Once all changes are done, user need to click on Publish button available on the right-hand corner in Maximo Application Framework application which will push the configuration changed to Maximo Server.