Configuring Sun Master Indexes

Configuring the MIDM Transactions Page

The Transactions page allows you to search for transaction records, view a results list, and then view the changes for the record you select. You can configure the name of the tabbed heading for the page, the display order, and the number of records to return and to display in the results list. The fields on the search page and results list are automatically generated and cannot be modified with the exception of the EUID, system, and local ID.

Below is the default Transactions page definition.


<transactions>
   <root-object>Person</root-object>
   <tab-name>Transactions</tab-name>
   <screen-id>2</screen-id>
   <display-order>4</display-order>
   <search-pages>
      <simple-search-page>
         <show-euid>true</show-euid>
         <show-lid>true</show-lid>
      </simple-search-page>
   </search-pages>
   <search-result-pages>
      <search-result-list-page
         <search-result-id>0</search-result-id>
         <item-per-page>10</item-per-page>
         <max-result-size>100</max-result-size>
         <field-group/>
      </search-result-list-page>
   </search-result-pages>
</transactions>

ProcedureTo Configure the Transactions Page

  1. In the Projects window, expand the Configuration node in the project you want to modify, and then double-click midm.xml.

    The file opens in the NetBeans XML editor.

  2. Scroll to the transactions element (located in the gui-definition element).

  3. Make any of the following configuration changes:

    • To specify a new name for the Transactions tab, modify the value of the tab-name element.

    • To change the order in which the Transactions tab appears on the MIDM, change the value of the display-order element.


      Note –

      If you change the order of one tab, make sure to change the order of the remaining tabs so no tabs have an identical display order value.


    • To include the EUID as a Transactions search field, change the value of the show-euid element to true.

    • To exclude the EUID from the Transactions search fields, change the value of the show-euid element to false.

    • To include the system and local ID as Transactions search fields, change the value of the show-lid element to true.

    • To exclude the system and local ID from the Transactions search fields, change the value of the show-euid element to false.

    • To specify the number of records to display on the Transactions search results list, change the value of the item-per-page element.

    • To specify a maximum number of records to return for a Transactions search, change the value of the max-result-size element.

  4. Save and close the file.