Faz Mullick wrote:
Hello List, I would like to customize OneClick so that the link in the
Trouble Ticket ID field forwards onto an alternative URL .

Please let me know if there is a customization file which may assist in
achieving this.

Kind Regards,


Look into the alarm/column-troubleticketid-config.xml and alarm/column-multilinetroubleticketid-config.xml. One is for the alarms list column and one for the component detail of the alarm.
 This is how it could look (column-troubleticketid-config.xml):

<?xml version="1.0" encoding="UTF-8"?>
<column id="column-troubleticketid-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>com.aprisma.spectrum.app.alarm.client.render.TroubleTicketIDColumn</name>

  <content>
    <attribute>0x12022</attribute>
  </content>

   <swing-cell-template>
    <text>
    <expression>
    <![CDATA[
    ((String)value()).length() > 0 ?
"<html><a href=\"http://alternatewebserver/display_ticket.jsp?TT="; + value().toString() + "\" >Ticket " + value().toString() + "</a></html>" :
      ""
    ]]>
    </expression>
    </text>
  </swing-cell-template>

</column>


hth,
--
Cristi Mitrana


---
To unsubscribe from spectrum, send email to [email protected] with the body: 
unsubscribe spectrum [email protected]

Reply via email to