ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

How can I add a column to OneCLick to display "ifOperStatus" ?

book

Article ID: 187191

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

How can I add a column to OneCLick to display "ifOperStatus" ?

 

 

Environment

Release : 10.x

Component : Spectrum Core / SpectroSERVER

Resolution

For steps to add columns to OneClick in general, see the following KB article:
https://knowledge.broadcom.com/external/article?articleId=18985


For a specific example of what the xml should look like to add the "0x10e40" attribute, please see the following file:


$SPECROOT\tomcat\webapps\spectrum\WEB-INF\topo\config\column-ifoperstatus-config.xml

This file looks like this:

<?xml version="1.0" encoding="UTF-8"?>

<!-- CA Technologies, Inc. One CA Plaza Islandia, NY 11749 USA Copyright (c) 2004 CA Technologies, Inc. All rights reserved. IN NO EVENT SHALL CA TECHNOLOGIES INCORPORATED BE LIABLE FOR ANY INCIDENTAL, INDIRECT, SPECIAL, OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING BUT NOT LIMITED TO LOST PROFITS) ARISING OUT OF OR RELATED TO THIS SOFTWARE, EVEN IF CA TECHNOLOGIES INCORPORATED HAS BEEN ADVISED OF, KNOWN, OR SHOULD HAVE KNOWN, THE POSSIBILITY OF SUCH DAMAGES. -->

<!-- -->

-<column xsi:schemaLocation="http://www.aprisma.com ../../common/schema/column-config.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.aprisma.com" id="column-ifoperstatus-config">

<name>com.aprisma.spectrum.app.topo.client.interfaces.render.IfOperStatusColumn</name>


-<content>

<attribute>0x10e40</attribute>


-<renderer>

<param name="attrID">0x10e40</param>
com.aprisma.spectrum.app.util.render.EnumeratedAttrRenderer 
</renderer>

</content>


-<swing-cell-template>


-<image>

<attribute>0x10e40</attribute>

<select idref="select-ifoperstatus-image-config"/>

</image>

<text/>

</swing-cell-template>

</column>