Configuring an URL Value in a User Attribute in an SOI Escalation Policy for Alarms
search cancel

Configuring an URL Value in a User Attribute in an SOI Escalation Policy for Alarms

book

Article ID: 400810

calendar_today

Updated On:

Products

CA Service Operations Insight (SOI)

Issue/Introduction

When configuring the User Attribute10 parameter with a URL string to Alarms in an Escalation Policy, the URL is shown as "<a href="http://<server>:<port></a>" with URL tags visible. 

Environment

SOI 4.2.x / 4.3

Resolution

1. Stop the SOI UI server
2. Open and edit below file (Update required userAttribute file where need url as link)
   CA\SOI\SamUI\webapps\sam\WEB-INF\alarm\config\column-userDefined10-config.xml

  Add below in above file (Add after <Content> tag)

<swing-cell-template>
    <text>
      <attribute>AlarmAttrID.USERATTRIBUTE10</attribute>
      <expression>
        <![CDATA[          
            value() != null && value().toString().length() > 0 ?
              ( "<html> <font color=\"#0000ff\">" + value() ) : attr(AlarmAttrID.USERATTRIBUTE10)

        ]]>
      </expression>
    </text>
  </swing-cell-template>

3. Start the UI server
4. Open the SOI Console.