Announcement

Collapse
No announcement yet.

Display of Device Last Change

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Display of Device Last Change

    Hi,

    how do I display the 'Last Change' properties of a device in HS in an UltraView Table, I presume that I add a new '<TD>' to the xsl file in question but what is the code to call the 'Last Change' in HS.

    What I have is;

    <xsl:apply-templates select="LASTCHANGE"

    but this is not showing any data, even though there is data within HS.

    Any suggestions?

    Lance
    Lance

    #2
    It looks like nobody has answered this posting. I'm dealing with the same issue and looking for the answer. I tried but with no luck with the following "CHANGE" variable.

    <tr>
    <td class="tablecolumn" valign="top" align="left">Location</td>
    <td class="tablecolumn" valign="top" align="left">Status</td>
    <td class="tablecolumn" valign="top" align="left">Last Change</td>
    </tr>

    <xsl:for-each select="DEVICE">
    <xsl:sort select="LOCATION" order="ascending" />
    <xsl:sort select="TYPE" order="ascending" />
    <xsl:if test="TYPE = 'Interface I/O' and LOCATION != 'Secu16 Unit 1'">
    <tr>
    <td class="tableroweven" width="60%" valign="top" align="left">
    <xsl:value-of select="LOCATION" /> [<xsl:value-of select="NAME" />]
    </td>
    <td class="tablerowodd" width="15%" valign="top" align="left">
    <xsl:value-of select="STRING" disable-output-escaping="yes"/>
    </td>
    <td class="tablerowodd" width="25%" valign="top" align="left">
    <xsl:value-of select="CHANGE" />
    </td>
    </tr>
    </xsl:if>
    </xsl:for-each>

    Thanks

    Comment


      #3
      Got it! It's "@CHANGE"

      Comment


        #4
        Sorry... I replied to the original post in a different forum. You are correct, the @CHANGE is the attribute you were looking for.
        Plug-ins: UltraMon, UltraM1G, UltraCID, Ultra1Wire, UltraLog, UltraWeatherBug, UltraPioneerAVR, UltraGCIR

        Comment

        Working...
        X