VersionHistoryForm
3p-core / VersionHistoryForm
Variable: VersionHistoryForm
const
VersionHistoryForm:React.FunctionComponent
<IVersionHistoryProps
>
Displays a panel showing the version history of a SharePoint list item.
Internally uses the legacy SharePoint _layouts/versions.aspx
page to extract version metadata and changed fields.
Parsed results are rendered in a Fluent UI DetailsList
.
Remarks
This component is helpful for end users and auditors who want to view field-level changes over time.
Example
<VersionHistoryForm
listName="Documents"
itemId={42}
webPartContext={context}
sp={sp}
onDismiss={() => setShowPanel(false)}
/>