Thursday, 28 September 2017

Creating a Dialog Window | IBM Maximo

You can add a new dialog window to a specific application or you can make it
available for use by all applications. You must modify an XML file to create a
dialog window and import the modified file into the Application Designer. After
importing it, you can modify the new dialog window in the Application Designer.

Procedure:
  • In the Application Designer, export one of the following XML files:
    • In the List tab, click Export System XML in the Select Action menu to export the library.xml file if you want to add a new dialog for use by all applications.
    • In the Workspace tab, click the Export Application Definition icon to export the presentation.xml file if you want to add a new dialog for use by a specific application.
  • 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. The following code creates a View History dialog window to the end of a presentation.xml file:
          <dialog id=”newhist” label=”History”>
          </dialog>
          </presentation>
  • 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.
  • In the Workspace tab, modify the dialog window as required

2 comments: