Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

$!changeItems is a collection of Change Item objects with the attributes below attributes.:

AttributeExplanation
fieldName of the field that was changeschanged
oldstringString representation of the old value of the field or a comma-separated list of removed items in case of multi-value fields
newstringString representation of the new value of the field or a comma-separated list of removed items in case of multi-value fields

Example template code to loop through the change items

Code Block
#foreach($changeItem in $!changeItems)
Field name: $!changeItem.getString("field")
Old value: $!changeItem.getString("oldstring")
New value: $!changeItem.getString("newstring")
#end

 

  The same construct is used by the renderChanges macro.