Change Tracking – Modifying the Viewer


We've tried to get the Change Tracking viewer to cater to most people's needs. But you may have needs that it doesn't meet. Fortunately, you can customize the viewer to fit your needs!


As we already know, the Change Tracking log is stored as XML, which you can save using simple scripts. If you look at one such log, you'll notice that each log entry contains a "computer" attribute, which is the computer name on which the change was made.


Suppose you want to see this "computer" attribute in the log viewer. All you need to do is just modify the XSL file that transforms the log XML into viewable HTML:



  1. Open C:\Program Files\Microsoft ISA Server\UI_Htmls\ChangeTracking.xsl in notepad or any other text editor.

  2. Find the line that puts the username in the User column. It looks like this:
    <xsl:value-of select="@user" />

  3. Replace it with lines that put the username and computer name:
    <b>user: </b><xsl:value-of select="@user" /><br />
    <b>computer: </b><xsl:value-of select="@computer" />

  4. Save. Now hit refresh on the Change Tracking viewer, and you'll see the change!

 


Further customizations are left as an exercise to the astute reader. Hint: Try playing with the <xsl:sort> line.


 


-Jonathan Barner, ISA Sustained Engineering Team

Comments (0)

Skip to main content