Advanced Example: Creating a Custom Column with Velocity Template
Custom columns can display different contents based on external conditions. Use the Velocity template language to specify these conditions.
To create a custom column that displays a particular image when an event's target is in a specific Zone, create the custom column as described previously, but specify Velocity template-language script in place of the HTML format.
The code in the Format text box might look like this:
<HTML> #if (($targetZoneUri.length()>0) &&
($targetZoneUri.startsWith("/All Zones/
System Zones/Public Address Space Zones/
Ford Motor Company"))) <IMG src="file:///c:/fordlogo.gif" />
#end </HTML>