Customizing Viewpoint > Configuring Homepage gadgets > Arranging gadgets on the Homepage

3.3.1 Arranging gadgets on the Homepage

You can manually configure the Viewpoint Homepage. The Homepage GUI is generally composed of three columns of gadgets. (Gadgets are simple HTML and JavaScript applications that can be embedded in Web pages and other applications. For more information, see Supported Homepage gadgets). Each gadget sizes horizontally according to the width of the browser while the height can be manually configured. There are several configuration options, including the height, position, title, and permission of each gadget.

To arrange gadgets on the homepage

  1. Open the core.xml file in the Viewpoint home directory.
  2. Scroll to the <home-page> element and locate the <module> section of the gadget to be moved.
  3. Modify the <positioning> child element the following ways:
    1. Set the column attribute to the number of the column in which the gadget will be:
    2. ValuePosition
      "1" Left column
      "2" Center column
      "3" Right column
    3. Set the priority attribute to the number of the row in which the gadget will be. For example, to place the gadget in the top row, set the priority to "1"; in the second row, set the priority to "2", and so on.
    4. You can create any number of rows by assigning gadgets to the corresponding number.

  4. For example:

    <module>
        <module-prefs title="My Workload" height="350" />
        <content type="url" href="jsp/dashboard/charts/workload_table.jsp" />
        <positioning column="5" priority="4" />
        <user-pref name="needingAttention" default_value="false" datatype="hidden" required="true" />
        <permission name="nav.homepage" />
    </module>

Related topics