Configuring nodes > Customizing the Node Detail pane

5.4 Customizing the Node Detail pane

Each details panel section specified in XML corresponds to a collapsible section in the details panel. A section itself consists of a title (with no variable interpolation) and a <fields> element that contains a list of fields. These fields have names that correspond directly to the table fields described previously in the fields section.

To customize the Node Detail page

  1. Open the nodes.xml file located in the Viewpoint home directory. Locate the <details> element within the <node-management> section.
  2. Customize the details panel collapsible sections.
    1. Specify a title (with no variable interpolation) for the section.
    2. <details>
        …
         <sections>
            <section>
               <title>General</title>
               <fields>
                   <id>
                     <title>Name</title>
                   </id>
                 …
               </fields>
            </section>
           …
         </sections>
      </details>
    3. Within the <fields> element, insert any of the table fields listed here or any of the following additional fields:
      • <classes> - A collection
      • <generic-events> - A table
      • <generic-metrics> - A table
      • <generic-resources> - A table
      • <header> - This is used to add a line of header text meant to be a sub-header inside a details section or to separate groups of values in a details section.
      • <jobs> - A collection
      • <os-options> - A collection
      • <reservations> - A collection
      • <resource managers> - A collection
      • <variables> - A table

      Several fields actually display a collection or list of scalar values. By default, these values are printed as a label of comma-separated values. However, if the field is given the attribute multiline="true", the field is displayed as a multi-select box with each individual collection value displayed on its own line. The fields that currently have this feature are labeled as collection fields.

  3. Give the field a <title> as demonstrated in the 2a example.
  4. Configure any desired buttons inside the <controls> element. You may use any of the above-table button elements, or the elements from the following list:

Related topics