Creating a dialog window

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

  1. In the Application Designer, export one of the following XML files:
    1. 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.
    2. 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.
  2. Save the XML definition to a local file and open it with a text editor.
  3. 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=”newviewhist” label=”View History”>
      </dialog>
    </presentation>
  4. Save the changes to the XML file.
  5. In the Application Designer, click the Import Application Definition icon, navigate to the modified XML file and import it.
  6. Click the Edit Dialogs icon and select the dialog window you created.
  7. In the Workspace tab, modify the dialog window as required.