intermediate

MBO Performance Tip N.5 – Avoid using setQbe method, use setWhere instead

This entry is part of the Java MBO performance optimization golden rules series. The MboSet.setQbe() method is designed to be used to build filters from the user interface. Using the MboSet.setQbe() method will automatically add jolly characters in text searches preventing the database server to be able to use indexes.For example let’s look at the […]

MBO Performance Tip N.1 – Avoid using MboSet.count() method in loops

This entry is part of the Java MBO performance optimization golden rules series. I think this is one of the most common errors when developing Java MBO code.The MboSet.count() method issues a “SELECT COUNT(*) from …” SQL query to retrieve the number of records in the database table.This can be a big problem especially when […]

Maximo Integration Framework first setup

This entry is part of the Maximo Integration Framework series. If you have never used the Maximo Integration Framework you have to check the MIF configuration before being able to play with it. System Properties All the configuration parameters for MIF can be managed from the System Properties  application: GoTo -> System Configuration -> Platform Configuration -> […]

Rapid Java class deployment on WebSphere

This entry is part of the Maximo Java Development series. In this post I will describe how to minimize the time needed to redeploy the custom Java code in Maximo running on WebSphere during the development phase. Note: The techniques explained in this article (except the first one) are recommended only for development environments. Here […]

Detect if an MBO method has been invoked by an user session or by a background process

You are in the middle of a Mbo class and you have to perform some logic only if your piece of code is invoked by a user sitting in front of of Maximo UI.How would you understand if the Mbo method has been invoked by an interactive user session or by a background process like […]

How to make a attribute required using Data Restrictions

This entry is part of the Conditional Expressions HowTo. In this post I will show how to make required the remarks field of the MATRECTRANS object for returned items. This is just an example and the same configuration can be used to make a field mandatory based on a particular condition.A similar post describes how […]

Creating a custom dialog box to send a report via email

An outstanding tutorial from Daniel Ng explaining how to create a custom dialog box to send a report via email.The tutorial is very detailed and explains a lot of Maximo/TPAE stuff including: Create a custom XML dialog box Attach the dialog box to an application Associate a signature option to the dialog box Associate the custom dialog box […]

Grant access to an action menu or toolbar button conditionally

This entry is part of the Conditional Expressions HowTo. In Maximo/TPAE menu items are granted per security group in the Security Groups application. Every option available for an application has a corresponding signature option (aka sigoption) record in the SIGOPTION table. Those SigOptions can be configured in the Application Designer. In this article I will […]

Scroll to top