Skip to content

Blog



Share this:

Using API authentication with MxLoader

Here is a quick guide about how to use API authentication with MxLoader. Generate API Key Follow these steps to generate an API Key for your user. Login to Maximo with administrative account. Go to Administration > Work Center > Integration. Click on the API Keys and click on the Add API Keys button Search for user for which API Key needs to be generated and click on the Add button. This will generate API Key for the user and the key will be visible on the work center. Now this API Key can be used withMxLoader. More details are available here.

Read more →

October 9, 2021

How to improve View Workflow History dialog

One of the frequent complaints from Maximo clients is the scarce user-friendliness of the View Workflow History dialog. Here is the same dialog after few changes. Clutter information is removed and is now clear the sequence of actions taken by the user. Before you start you have to open the Application Designer and click on Export System XML action. Then export your LIBRARY.xml file and create a backup copy of it. Search for id=“historywf” to find the definition of the View Workflow History dialog and make the following changes.

Read more →

October 2, 2021

MxLoader registration Q&A

MxLoader 8.4 no longer requires registration. You can download the latest version or the updater tool from this page.

Read more →

September 4, 2021

DBC XML Format Reference

The DBC XML Format Technical Reference document disappeared from IBM website. You can download the document from this link. Thanks to Biplab Das Choudhury and Cezar Tipa.

Read more →

August 17, 2021

MxLoader Webinar Q&A

In this post I’m collecting the answer to the questions that we have received during the webinar of 18th of June 2021 about the release of MxLoader 8.1. Data Validation Validation process is important before upload. because many clients were asked us physical validation report before process data in Maximo. Do we have any such report using MXLoader? Unfortunately MxLoader cannot perform validation before processing the data.

Read more →

July 2, 2021

Setting multiple fields as readonly with script

Sometimes you may need to allow some users to update only few fields. This may be hard to achieve using conditional UI and conditional expressions. In the following snippet I’m setting all fields as readonly except DESCRIPTION and STATUS if the current user is in MANSUP security group. Attach the script to the Initialize event of the object you want to control. from psdi.mbo import MboConstants from psdi.server import MXServer # check if the current user is in MANSUP security group currentuser = mbo.getUserInfo().getUserName() groupuserSet= MXServer.getMXServer().getMboSet('GROUPUSER', mbo.getUserInfo()) groupuserSet.setWhere("groupname in ('MANSUP') and userid='" + currentuser + "'") if not groupuserSet.isEmpty(): mbo.setFieldFlag(["DESCRIPTION", "STATUS"], False, MboConstants.READONLY, True) The powerful trick here is to use the method Mbo.setFieldFlag(names, inclusive, flag, state)

Read more →

April 27, 2021

Strict validation of attachment types

Few days ago, Vincenzo Luzzi, a fellow Maximo senior consultant working with me in Omninecs, forwarded this secret tip to me. I haven’t tested it but think I could be useful for the community. You know you can control what types of attachments can be uploaded to Maximo using the system property mxe.doclink.doctypes.allowedFileExtensions. However Maximo just checks the file extension and is not performing any additional check to ensure other types of files are uploaded to its repository. Starting from Maximo 7.6.0.6 you can implement a more strict file type scanning when you upload an attached document.

Read more →

April 26, 2021

Highlight table rows conditionally

You may not know but there is an easy trick to conditionally set the color of Maximo table rows based on a condition. In this tutorial I will show you how to highlight high priority work orders in Work Order Tracking application. Identify the field First of all you need to identify the field on which the rule will be based on. In our example, the rule will be based on WORKORDER.WOPRIORITY field.

Read more →

April 25, 2021

Custom REST service with Automation Script

The REST APIs have a tight integration with the automation scripts. Automation scripts can be used to develop custom APIs. The following example call describes how automation scripts interact with REST APIs. You can also use automation scripts for implementing custom queries and custom actions. JavaScript language is always the preferred choice for integration scripts since it provides native functions to manage JSON objects. To find the total number of work that is in progress and service requests in a given site, you need to create an API since there is no out-of-the-box API for this task. Create the following Automation Script:

Read more →

April 18, 2021

Querying data with MxLoader using REST service

MxLoader 7.1 and above supports the new Maximo JSON APIs that are available from Maximo 7.6.0.2. The REST APIs are based on the OSLC protocol so there are some changes you have to consider. The most important difference between OS and REST service is the format of the where clause that can be set in cell D1 of MxLoader sheets. While OS server accepts SQL syntax, the REST service follows the OSLC specifications. In this post I will describe the most important concept to write OSLC where clauses.

Read more →

April 18, 2021