How to make SOI Alert User attribute editable?

Document ID : KB000038919
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

We have a requirement where we want to modify the Alert User Attribute by clicking 'Set' option. By default it cannot be editable, how can we make Alert User Attributes editable?

Environment:

SOI 3.3 & 4.0

Answer:

1) Add "editable" tag to the \SOI\SamUI\webapps\sam\WEB-INF\alarm\config\column-userDefined1-config.xml file to make this "User Attribute1" editable as shown below

    <name>com.aprisma.spectrum.app.alarm.client.detail.USERATTRIBUTE1</name>   

       <content> 

           <attribute>AlarmAttrID.USERATTRIBUTE1</attribute> 

       </content> 

       <editable/> 

UserAttribute_Edit.jpg

2) Save the file and re-open SOI console to take these changes affect

UA1.jpg