ok, much quicker than I thought The following process works for most attributes - tables are trickier
in $specroot/custom/topo/config you need to copy across the file table-ports-config.xml from the tomcat directory (just search for it) edit it and add in (somewhere in the columns listing) *<column idref="column-iflastchange-config">* * <default-width>125</default-width>* * </column>* Now you need to create the file $specroot/custom/topo/config/column-iflastchange-config.xml to save time here is the content of that file *<?xml version="1.0" encoding="UTF-8"?>* *<!--* * ############################################################################### * *#* *# File: /sablime/sablime5_2/sdb/Jtopo/war/WEB-INF/topo/config/s.column-iflastchange-config.xml * *#* *# Version: 1.1.1.2 - 02/19/04 04:12:08* *#* * ############################################################################### * *-->* *<column id="column-iflastchange-config"* *xmlns ="http://www.aprisma.com"* *xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"* *xsi:schemaLocation="http://www.aprisma.com* *../../common/schema/column-config.xsd">* *<name>if Last Change</name>* *<content>* *<attribute>0x12980</attribute>* *</content>* *</column>* ---------- Now you can also add the column to the interfaces tab in component details by editing $specroot/custom/topo/config/interfaces-table-config.xml (copy it from tomcat folder) and adding in the same lines you added to tables-ports-config.xml As always do not edit the files in tomcat, copy them to $specroot/custom On 23 November 2011 11:30, Naiman, Eugen <[email protected]>wrote: > No problem, I am not in a hurry.**** > > Just take your time and do it when you can – it will be always welcome.*** > * > > ** ** > > Regards,**** > > *============================================* **** > > *Eugen NAIMAN* > IT Officer > ICT Infrastructure > Department Health and Human Services > 5/99 Bathurst Street, Hobart, 7000 > (: (03) 6233 8565 > Ê: (03) 6233 6297 > *[email protected]* > *============================================***** > > ** ** > > *From:* Jason Hebron [mailto:[email protected]] > *Sent:* Wednesday, 23 November 2011 9:28 AM > *To:* Naiman, Eugen > *Cc:* [email protected] > > *Subject:* Re: [spectrum] Add columns to Locator tab search results**** > > ** ** > > I'll get back to you in an hour with some examples**** > > On 23 November 2011 11:20, Naiman, Eugen <[email protected]> > wrote:**** > > Hi Jason,**** > > **** > > Thanks for your input.**** > > I wish you to be right J I wanted that for such a long time.**** > > If you can find some details (I am familiar with customizations, xml > files, references … all I need it the correct file to be modified) that > would be great.**** > > **** > > Regards,**** > > *============================================* **** > > *Eugen NAIMAN* > IT Officer > ICT Infrastructure > Department Health and Human Services > 5/99 Bathurst Street, Hobart, 7000 > (: (03) 6233 8565 > Ê: (03) 6233 6297 > *[email protected]* > *============================================***** > > **** > > *From:* Jason Hebron [mailto:[email protected]] > *Sent:* Wednesday, 23 November 2011 9:13 AM > *To:* Naiman, Eugen; [email protected] > *Cc:* spectrum > *Subject:* Re: [spectrum] Add columns to Locator tab search results**** > > **** > > Hi**** > > I think actually you can do this - had it on an 8.1 installation and have > ported the customisations across to 9.2 and they are showing up fine -**** > > you need to use a topo file in custom - copy across a > column-xxxxxx.config.xml to $specroot/customer/topo**** > > You also need to reference it from the relevant view file - now here its a > little bit trickier - from memory (not at console) you would need to edit > either table-ports-config,xml or tablesmodel-config.xml or > interfaces-table-config.xml - apologies in the uncertainty - I am doing > this from rough notes.**** > > As always don't edit the file in situ - copy it to the relevant location > in $specroot/custom/**** > > **** > > > > **** > > On 23 November 2011 11:01, Naiman, Eugen <[email protected]> > wrote:**** > > If you’re trying to add something to the results tab, I’m afraid it won’t > be possible.**** > > I am pretty sure that you can’t add extra columns to this area, if those > columns weren’t added by CA.**** > > If you right-click on a column header it will show you a list with all > available columns to display – if what you need is not on that list then > you’re out of luck.**** > > **** > > It will be better if you open a ticket with CA Support – they will tell > you for sure if it is possible.**** > > If it is, please let the list know the answer.**** > > **** > > Regards,**** > > *============================================* **** > > *Eugen NAIMAN* > IT Officer > ICT Infrastructure > Department Health and Human Services > 5/99 Bathurst Street, Hobart, 7000 > (: (03) 6233 8565 > Ê: (03) 6233 6297 > *[email protected]* > *============================================***** > > **** > > *From:* Mencke, Edward [mailto:[email protected]] > *Sent:* Wednesday, 23 November 2011 7:36 AM > *To:* spectrum > *Subject:* [spectrum] Add columns to Locator tab search results**** > > **** > > Hi,**** > > **** > > We’re running Spectrum Version 9.2.1.5.104 and would like to add a column > corresponding to the attribute ifLastChange (0x12980) so that it will show > up when we run a search to find out when the last time a switch port has > been used. Can anyone point me in the right direction? I’ve been going > through the CA Spectrum Infrastructure Manager OneClick Customization Guide > and can’t find anything on how to add a column.**** > > **** > > Thanks,**** > > **** > > Ed**** > > [image: Description: C:\Documents and Settings\menckee\My Documents\My > Pictures\CCFLogo.bmp]**** > > *Edward C. Mencke * CCNA, MCSE > Network Engineer | Network Operations > Cleveland Clinic | 17325 Euclid Ave. | Cleveland, OH 44112 | (216) > 738-4113**** > > **** > > ===================================**** > > Please consider the environment before printing this e-mail**** > > **** > > **** > > Cleveland Clinic is ranked one of the top hospitals**** > > in America by U.S.News & World Report (2010). **** > > Visit us online at http://www.clevelandclinic.org for**** > > a complete listing of our services, staff and**** > > locations.**** > > **** > > **** > > Confidentiality Note: This message is intended for use**** > > only by the individual or entity to which it is addressed**** > > and may contain information that is privileged,**** > > confidential, and exempt from disclosure under applicable**** > > law. If the reader of this message is not the intended**** > > recipient or the employee or agent responsible for**** > > delivering the message to the intended recipient, you are**** > > hereby notified that any dissemination, distribution or**** > > copying of this communication is strictly prohibited. If**** > > you have received this communication in error, please**** > > contact the sender immediately and destroy the material in**** > > its entirety, whether electronic or hard copy. Thank you.**** > > > - --To unsubscribe from spectrum, send email to [email protected] with > the body: unsubscribe spectrum [email protected] **** > > Want to Get Healthy? **** > > The Tasmanian Government's Get Healthy Information and Coaching Service® > provides free information and coaching support to Tasmanian adults who > would like to learn healthier eating habits, be more active or achieve and > maintain a healthy weight. Call 1300 806 258 between 8am and 8pm, Monday to > Friday or visit www.gethealthy.tas.gov.au for more information." **** > > CONFIDENTIALITY NOTICE AND DISCLAIMER **** > > The information in this transmission may be confidential and/or protected > by legal professional privilege, and is intended only for the person or > persons to whom it is addressed. If you are not such a person, you are > warned that any disclosure, copying or dissemination of the information is > unauthorised. If you have received the transmission in error, please > immediately contact this office by telephone, fax or email, to inform us of > the error and to enable arrangements to be made for the destruction of the > transmission, or its return at our cost. No liability is accepted for any > unauthorised use of the information contained in this transmission. **** > > If the transmission contains advice, the advice is based on instructions > in relation to, and is provided to the addressee in connection with, the > matter mentioned above. Responsibility is not accepted for reliance upon it > by any other person or for any other purpose. **** > > - --To unsubscribe from spectrum, send email to [email protected] with > the body: unsubscribe spectrum [email protected] **** > > **** > > Want to Get Healthy? **** > > The Tasmanian Government's Get Healthy Information and Coaching Service® > provides free information and coaching support to Tasmanian adults who > would like to learn healthier eating habits, be more active or achieve and > maintain a healthy weight. Call 1300 806 258 between 8am and 8pm, Monday to > Friday or visit www.gethealthy.tas.gov.au for more information." **** > > CONFIDENTIALITY NOTICE AND DISCLAIMER **** > > The information in this transmission may be confidential and/or protected > by legal professional privilege, and is intended only for the person or > persons to whom it is addressed. If you are not such a person, you are > warned that any disclosure, copying or dissemination of the information is > unauthorised. If you have received the transmission in error, please > immediately contact this office by telephone, fax or email, to inform us of > the error and to enable arrangements to be made for the destruction of the > transmission, or its return at our cost. No liability is accepted for any > unauthorised use of the information contained in this transmission. **** > > If the transmission contains advice, the advice is based on instructions > in relation to, and is provided to the addressee in connection with, the > matter mentioned above. Responsibility is not accepted for reliance upon it > by any other person or for any other purpose.**** > > ** ** > > Want to Get Healthy? > > The Tasmanian Government's Get Healthy Information and Coaching Service® > provides free information and coaching support to Tasmanian adults who > would like to learn healthier eating habits, be more active or achieve and > maintain a healthy weight. Call 1300 806 258 between 8am and 8pm, Monday to > Friday or visit www.gethealthy.tas.gov.au for more information." > > CONFIDENTIALITY NOTICE AND DISCLAIMER > > The information in this transmission may be confidential and/or protected > by legal professional privilege, and is intended only for the person or > persons to whom it is addressed. If you are not such a person, you are > warned that any disclosure, copying or dissemination of the information is > unauthorised. If you have received the transmission in error, please > immediately contact this office by telephone, fax or email, to inform us of > the error and to enable arrangements to be made for the destruction of the > transmission, or its return at our cost. No liability is accepted for any > unauthorised use of the information contained in this transmission. > > If the transmission contains advice, the advice is based on instructions > in relation to, and is provided to the addressee in connection with, the > matter mentioned above. Responsibility is not accepted for reliance upon it > by any other person or for any other purpose. > --- To unsubscribe from spectrum, send email to [email protected] with the body: unsubscribe spectrum [email protected]
<<image001.png>>
