How to create dialog window in IBM Maximo?

How to create dialog window in IBM Maximo?

Save the changes to the XML file. In the Application Designer, click the Import Application Definition icon, navigate to the modified XML file and import it. Click the Edit Dialogs icon and select the dialog window you created. Good Information…. Load more…

How do I import a file into Maximo?

To import the file in Maximo, click on the Import Application Definition button in the Application Designer app. This will display a dialog box that will allow you to choose the file you wish to import. Choose the file. In our case, LIBRARY.XML and click OK.

How to create a custom dialog in maximodev?

Paste the XML fragment in bold after the “Follow-up Work” section. Now scroll down to the end of the file and paste the dialog definition just before the ‘presentation’ end tag. Let’s now analyze those application configurations.

How to create a dialog in an XML file?

The XML definition opens in a new browser window. Save the XML definition to a local file and open it with a text editor. Add a code snippet for the dialog at the end of the XML file, just before the final closing tag, either the </systemlib> tag or the </presentation> tag.

How to close a custom dialog in Maximo?

The two buttons OK/Cancel use the standard Maximo events dialogok/dialogcancel. Both will close automatically the dialog but we will see that the dialogok event will trigger a save on the MXDCREATEWO object.

How does maximodev handle custom dialog using automation scripts?

It first logs a row in the log and then sets the two fields on the current mbo (MXDCREATEWO) retrieving the value form the owner mbo (the WORKORDER). The mbo.getOwner () method is used for this purpose. The tricky part is to detect the OK button press on the dialog.

How is the MBO saved in maximodev dialog?

The mbo.getOwner () method is used for this purpose. The tricky part is to detect the OK button press on the dialog. The secret hook here is the ‘save’ event. When the user’s press the OK button of the dialog, Maximo assumes that the mbo of the dialog must be saved.

When to use the Save event in Maximo?

The secret hook here is the ‘save’ event. When the user’s press the OK button of the dialog, Maximo assumes that the mbo of the dialog must be saved. This means that we can execute a script using the Save event launch point. The following automation script is defined as follows: