Skip to main content

LgChangeViewer

LgChangeViewer displays the details of a Tracked Changes history entry: the action performed, the affected table, and a comparison of before/after values. It is the component used by the framework's built-in history pages; it can be reused to build a custom audit screen.

Example​

<LgChangeViewer TableName="@_change.TableName"
Action="@_change.Action"
Before="@_change.PreviousValues"
After="@_change.NewValues" />

Parameters​

ParameterTypeDescription
ActionTrackedChangeActionTracked action (create, modify, delete, …).
TableNamestringTable affected by the change.
BeforestringValues before the change.
AfterstringValues after the change.

See also​

Enabling change tracking: Tracked Changes.