search cancel

How to add a column of information in the OneClick Events tab

book

Article ID: 201708

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

How to add a column of information in the OneClick Events tab

For example, add the DeviceType attribute id 0x23000e as a column in the Events tab in OneClick.

Environment

Release : Any

Component : Spectrum OneClick

Resolution

On the OneClick system, you can modify the event-table-config.xml and add an attribute as a column.

For example, to add the Device Type:

1. Log into the OneClick system as the user that owns the Spectrum installation.

2. Copy the $SPECROOT/tomcat/webapps/spectrum/WEB-INF/event/config/event-table-config.xml file to the $SPECROOT/custom/event/config directory

3. Edit the $SPECROOT/custom/event/config/event-table-config.xml file and add the following highlighted text near the end of the file:

    <column idref="column-eventprecedence-config">
      <hidden-by-default>true</hidden-by-default>
      <default-width>100</default-width>
    </column>

    <column idref="column-devicetype-config">
      <hidden-by-default>true</hidden-by-default>
      <default-width>100</default-width>
    </column>


4. Make sure to sav the file in ascii text. If on Windows, be careful using a text editor like wordpad so the file is not saved in rtf format.

5. Log out and then back into OneClick. The Device Type column will be hidden by default.

Additional Information

Reference the "OneClick Customization" section of the documentation for details.