MaximoDev Blog

It’s all about Passion

Load failure codes in Maximo with MxLoader

MxLoader 6.2 was the last version with a built-in support for failure codes data loading. Unfortunately this version does not support REST APIs. This post describes how to load failure codes using MxLoader 8.5 with the latest versions of Maximo (including MAS Manage) that only support REST protocol. I will use the following small failure class hierarchy C1 as an example. CL1 - Failure Class 1 P1 - Problem 1 C1 - Cause 1 R1 - Remedy 1 P2 - Problem 2

Force table refresh from automation script

The most common technique to force a reload of an MboSet (and thus refresh a table on the UI) is to call the MboSet().reset() method. context = UIContext.getCurrentContext() wcs = context.getWebClientSession() wcs.getDataBean(“assetmove_t”).refreshTable() In some cases you don’t need to reload the MboSet or you just cannot do it because you haven’t yet saved the MboSet. In such cases you have to work at UI level using the DataBean.refreshTable() method. This will force a reload of the data in the UI from the underlying MboSet in memory.

Conditional expression variables

Maximo conditional expressions use an SQL-like syntax allowing to replace the value of a specific attribute using the “:” notation. For example, you can have an expression like this: exists (select 1 from workorder where wonum=:wonum) At run time, the second wonum is replaced with the value of the wonum attribute for the current record. The value of an attribute of a related object can also be referenced using the following natation.

IBM Maximo 7.5 manuals in PDF format

We all know that Maximo has moved to OpenShift platform and is evolving to a more web-based documentation system but sometimes I feel a little bit old and I prefer to study in the “old way”. In this page I’m sharing to old IBM Maximo 7.5 documentation in PDF format. I know it’s quite old but 99% of the information is still valid in MAS Manage application. Installation Installation Guide (IBM WebSphere)

Save disk space in doclinks folder resizing images

If you are collecting a lot of photos with service requests or workorder you may start wasting a lot of disk space in the DOCLINCS folder. Here is a small script I have developed for one of our clients to resize JPEG files in the doclinks folder using ImageMagick open-source software. Download the application from the ImageMagick website. I have downloaded the Windows x64 portable version ImageMagick-7.1.2-15-portable-Q16-x64.7z file. Extract the archive on one of the application servers.