DX NetOps

 View Only

Create custom alarm duration column

  • 1.  Create custom alarm duration column

    Posted Mar 09, 2017 11:04 PM

    Dear ..,

    I would like to create Alarm duration column. Alarm duration will calculate the time when event occur. I would like to calculate by use clear on time (0x482001b) - create on time (0x11f4e) .  I try to coding in below. But it doesn't work. After i use expression i will not see Alarm duration column as i config.  Please help me check this code. 

     

    Regard

    Chanopas

     

    <column id="column-alarm-duration">

       <name>Alarm Duration</name>

       <content>

        <expression>

    attr( 0x482001b ) - attr(0x11f4e ) : value()

        </expression>

       <renderer>

    com.aprisma.spectrum.app.util.render.DateRenderer

       </renderer>

       </content>

    </column>