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 data to the current record or even as a way to generate new records based on the current record. In this entry, I will go over how to create one of these.
The first step is to add any fields you will need for the screen. For a Maximo screen, a input field must be defined on an underling MBO. That being said, if it is a value that you will only use for a calculation on the screen and do not want to store, then add the field as a non-persistent field.
Next, we need to add a new dialog box to the screen in question. Sadly, there is no way to do this from the front end. The only way to do this is you have to export the application, then edit the XML with your favorite text editor. Then you need to add a new
All,
Sorry about the XML sample. The new blog seams to like to eat some of the tag characters. Actually, it looks like it just eats ‘</’ characters.
Mike