A Division of Technology Associates International Corporation
Maximo Blog

UserExit Class in Maximo 7

August 24, 2010 in Maximo, Maximo 7, Maximo: MIF, Maximo: Programming by Michael Chrisman 0 Comments

If you are used to creating a UserExit class in Maximo 6 (MEA), then you will find a couple of big differences in Maximo 7. Some things are the same as in MEA. The main method you override are setUserValueIn() and setUserValueOut(). You still have the irData and erData parameters. …

Read More

WebSphere and the exploded ear

August 13, 2010 in Maximo, Maximo 7, Maximo: Programming by Michael Chrisman 0 Comments

As a developer, I have always perferred using Weblogic or WebSphere for one reason: The exploded ear (see Running Maximo in an Exploded Ear (WebLogic) ). Unfortunately, WebSphere does not offer such a time saving method of running Maximo. At least I thought so, but thanks in large part of …

Read More

Creating a Cron Task

March 12, 2010 in Maximo, Maximo 7, Maximo: Programming by Michael Chrisman 0 Comments

Within Maximo, you can create your own custom Cron Task. From an Integration point, you have to create a cron task if your requirements are for batch processing of data. The MEA/MIF are for instant message transfers. The first step is to create a new class. You will want to …

Read More

Maximo 7 Admin Mode

March 12, 2010 in Maximo, Maximo 7, Maximo: Programming by Michael Chrisman 1 Comment

With Maximo 7, you now have to ability to do a Database Configuration from within the application. The first step is setting the application in Admin mode. Fields: Number of Administrative Sessions Allowed: this determines how many ‘admins’ can log into Maximo while it is in Admin mode. I do …

Read More

New Attribute in MaxMessages table

March 12, 2010 in Maximo, Maximo 7, Maximo: Programming by Michael Chrisman 0 Comments

In Maximo 7, IBM has added a new column to MaxMessages table. It is MSGID. This field is required and must be unique. Now you can put any value in here and Maximo will work just fine. However, if you want to use the new Deployment tool with Maximo, then …

Read More

Setting Maximo 7 Logging

March 12, 2010 in Maximo, Maximo 7, Maximo: MIF, Maximo: Programming by Michael Chrisman 3 Comments

There have been just enough changes to logging from Maximo 6 to Maximo 7. Most of these changes are nicer as you now manage logging through the front end and you don’t have to restart the application to make your changes active. However, one change is to where log entries …

Read More

How to upload a file for processing

June 16, 2009 in Maximo, Maximo 6, Maximo 7, Maximo: Programming by Michael Chrisman 15 Comments

Although the MIF/MEA is great for processing inbound files. However, sometimes they do not meet all your needs. For example, the MIF will require the user to have access to a folder on the server (a security problem). The MIF is also design for automated data import. Sometime you need …

Read More

The relationship between Domains and MBOs

June 06, 2009 in Maximo, Maximo 6, Maximo 7, Maximo: Programming by Michael Chrisman 3 Comments

There is a relationship between domains and MBOs that until you understand it, can be very frustrating. For example, you create an MBO (or even use an existing MBO), you then create a domain, attach it to a field in the MBO, but when you go to use the screen, …

Read More

How to create a dialog box

June 04, 2009 in Maximo, Maximo 6, Maximo 7, Maximo: Programming by Michael Chrisman 10 Comments

Maximo provides many ways to add functionality to an Application Screen, from sub-tables to tabs. Another way is to add a dialog box. In Maximo, a dialog box is a ‘popup’ screen that appears on top of the current screen. You can use these to allow users to add more …

Read More

Auto-populating relationship attributes in a parent/child table relationship

May 27, 2009 in Maximo, Maximo 6, Maximo 7, Maximo: Programming by Michael Chrisman 9 Comments

Although it is easy to create MBOs (tables) that have a parent/child relationship in Maximo, getting the relationship fields to auto-populate when doing data entry on a screen requires a little coding. Let’s go over how. In this example, let’s say we created our own child table of ASSET. We …

Read More

Creating a Custom Dialog- Part 2

March 08, 2009 in Maximo, Maximo 6, Maximo: Programming by Michael Chrisman 14 Comments

Now that we have our dialog box, the next thing is to add some custom functionality to the dialog box. In this example, we will add a button that when the user clicks it, it will call our custom code. First we are going to create our custom java class. …

Read More

Creating a Custom Dialog- Part 1

February 25, 2009 in Maximo, Maximo 6, Maximo: Programming by Michael Chrisman 0 Comments

It is possible to add your own dialog box to an existing (or new) screen in Maximo. A Dialog box in Maximo is like a pop-up window that you can add fields and functionality. This entry will cover the creation of the the dialog window. The first step is to …

Read More

MEA Example: Triggering interface when child record is modified

February 03, 2009 in Maximo, Maximo 6, Maximo: MEA, Maximo: Programming by Michael Chrisman 10 Comments

Sometimes, because of the structure of the message Maximo has to send, you have to make one table the base for the Integration object, but you need to trigger the interface when a record is modified on a child table. Since Maximo only listens for changes on the base MBO, …

Read More

Using Standard Java SQL Connection in Maximo in a UserExit

February 02, 2009 in Maximo, Maximo 6, Maximo: MEA, Maximo: Programming by Michael Chrisman 14 Comments

It is possible to pass a SQL statement into the database without having to define a connection string. From any MBO object, you can get a connection to the current database. From that, you can pass in any SQL statement and use the results to populate values in a Integration …

Read More

Error: Class Not Found. Class bytes found but defineClass()failed

January 27, 2009 in Maximo, Maximo 6, Maximo: MEA, Maximo: Programming by Michael Chrisman 4 Comments

If you created a custom UserExit or Mbo class and when you try to run it in Maximo you get the follow error in the log: Class Not Found. Class bytes found but defineClass()failed Note this is not a standard Class Not Found error. What this means is that you …

Read More

Checking if an MBO has been modified

January 26, 2009 in Maximo, Maximo 6, Maximo: Programming by Michael Chrisman 0 Comments

In Maximo, sometimes when, in code, you try to modify an Attribute on an MBO, you get an error saying that the records was already modified. This usually happens when you have extended the MBO class and the error causes the save to abort altogether. This can be avoided by …

Read More

How to install the INTCLIENT (without installing Maximo)

December 03, 2008 in Maximo, Maximo 6, Maximo: MEA, Maximo: Programming by Michael Chrisman 2 Comments

It is possible to install just the Integration Client on a computer without installing full Maximo on that computer. You will still need to have Maximo installed (and configured) on a computer somewhere so you can copy the needed files. This install is not small (requires around 170 meg) as …

Read More

Maximo Integration Client- The Missing Manual

November 25, 2008 in Maximo, Maximo 6, Maximo: MEA, Maximo: Programming by Michael Chrisman 1 Comment

OK, I hinted that I might create a user's manual for the INTCLIENT and now, here it is. This is just version one and I am sure there are some things I either missed or got wrong. If you find something, please let me know and I'll update the document. …

Read More

Intclient Error: UsernamePasswordCredentials class not found

November 25, 2008 in Maximo, Maximo 6, Maximo: MEA, Maximo: Programming by Michael Chrisman 0 Comments

I got this error when trying to use a web service (SOAPDOC). This error appeared in the command window running the intclient. Nothing appeared in the Message window of the inclient or on the application server. I don't know why this error occurs on some installs and why it doesn't …

Read More

Maximo-Eclipse setup guides

November 04, 2008 in Maximo, Maximo 6, Maximo: Programming by Michael Chrisman 0 Comments

I have heard from more than a few people that they can't get approval to become a member of the Yahoo group to access the setup guides. As such, I provide them here. [legal speak]Please understand that I did not create these document and offer nothing for warrenty or support …

Read More

Deleting an Application in Maximo

November 03, 2008 in Maximo, Maximo 6, Maximo: Programming by Michael Chrisman 1 Comment

As a developer in Maximo, you end up either creating a new app (in app designer) to test something, or cloning existing apps. However, you probably noticed that there isn't an option to delete an application. As it turns out, to delete an application in Maixmo, you have do to …

Read More

Migrating MEA and Database changes

October 17, 2008 in Maximo, Maximo 6, Maximo: MEA, Maximo: Programming by Michael Chrisman 3 Comments

It turns out that you can use the MEA to export your integration and database changes, and then import them into another system. You can do this because out of the box Maximo comes with integration objects for the MEA objects as well as the Object Configuration, Max Messages, Domains, …

Read More

Domains Part 2: Adding to a screen

October 16, 2008 in Maximo, Maximo 6, Maximo: Programming by Michael Chrisman 1 Comment

Now that we have define our domains, the next thing we need to do is setup a screen to use the domain (give the user the little magnifying glass next to the field on the screen). The first step is to edit your screen in the Application Designer. Next, export …

Read More

Domains Part 1: Defining a Domain

October 16, 2008 in Maximo, Maximo 6, Maximo: Programming by Michael Chrisman 5 Comments

Domains are how you tell Maximo what is valid data for a field. It also can be used to display a list of options. You can create a simple list of values or generate a list of values from a table. Let's first talk about the different types of Domains. …

Read More

MaxMessages

October 02, 2008 in Maximo, Maximo 6, Maximo: Programming by Michael Chrisman 24 Comments

One of the most common needs in any customization is the ability to tell the end user something. I am, of course, talking about an alert or message box. Maximo does provide away to do this within your custom Java code. Of course, it is not as simple as calling …

Read More

Extending MBOs

September 24, 2008 in Maximo, Maximo 6, Maximo: Programming by Michael Chrisman 7 Comments

Let's talk about how to extend an MBO. Sometimes you need to add extra functionality to an MBO (like setting a field value when a certain set of criteria are added. The first thing to do is to setup your environment. You might also look into the Maximo4Eclipse. OK, the …

Read More

MEA: UserExit Class

September 11, 2008 in Maximo, Maximo 6, Maximo: MEA, Maximo: Programming by Michael Chrisman 18 Comments

So far, we have covered how to interface with Maximo using standard out of the box tools, but sometimes, you need to do some complex processing. Maximo provides a way to do this by creating a custom user exit class. A user exit class is Java code that you can …

Read More

Running Maximo in an Exploded Ear (WebLogic)

June 05, 2008 in Maximo, Maximo: Programming by Michael Chrisman 7 Comments

As a developer in Maximo, it can be a bit of a pain, after any change to the classes you make, you have to 1) stop the application server 2) rebuild the Ear 3) restart the application server so it will auto-redeploy the ear. As it turns out, if you …

Read More

Maximo-Eclipse Setup Guides

May 22, 2008 in Maximo, Maximo: Programming by Michael Chrisman 2 Comments

I know that my last few posts have been links, but I feel the documents are important. These two are just as important if you are a developer with Maximo. I recently attended a condensed training class and was given two sets of documents for setting up eclipse to use …

Read More

Maximo ERD, Programmers Guide, Java Docs and more

May 15, 2008 in Maximo, Maximo: Programming by Michael Chrisman 11 Comments

One of the most asked for is the Maximo ERD. I had heard rumors that one existed, but I was beginning to think it was a myth. But like Santa Clause's house at North Pole, Alaska (which I have been to), it turns out it does exist. You will need …

Read More

Handy MEA tools included with Maximo

March 26, 2008 in Maximo, Maximo 6, Maximo: MEA, Maximo: Programming by Michael Chrisman 8 Comments

Maximo comes with a couple of very hand tools for helping you manage and program the MEA. These tools are officially unsupported, but they are pretty useful. The first tool is called: Integration Client. This is a Java tool that allows you to test your inbound MEA interface. This includes …

Read More

A look at some Maximo System tables

January 01, 2008 in Maximo, Maximo 6, Maximo: Programming by Michael Chrisman 3 Comments

I thought I would write a little summary of a few of the Maximo tables and what I have found they are for. This will not be a complete coverage, but only the little tidbits that I have found. Table Name Description/Comment AutoKey This table contains the counter for the …

Read More

Maximo and Unique IDs

December 12, 2007 in Maximo, Maximo 6, Maximo: Programming by Michael Chrisman 12 Comments

If you always enter data from the front end of Maximo, then this post has nothing to do with you. However, if you have to load (or manipulate) data from the back end then let me tell you about Maximo 6.x and unique ids. I recently did an upgrade from …

Read More