Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
π₯ SharePoint Framework
Developer environment
None
What browser(s) / client(s) have you tested
Additional environment details
- SPFx version 1.22.2
- Node.js version 22.22.2
Describe the bug / error
We are experiencing an issue where the SharePoint Versions.aspx page no longer behaves as expected. Previously, it was possible to open the version history dialog via a direct URL, but now the page only returns a blank (white) content.
Example URL:
https://<tenant>.sharepoint.com/sites/<site-collection>/_layouts/15/Versions.aspx?FileName=/sites/<site-collection>/Lists/<list-name>/<item-id>&IsDlg=1&list={<list-guid>}
Observed Behavior
The page loads but displays no content (white/empty screen).
No obvious error message is shown in the UI and console.
This used to render the version history dialog correctly.
Context / Findings
It appears that SharePoint has introduced a new version of the version history dialog.
The previous _layouts/15/Versions.aspx endpoint may no longer be supported or may have changed behavior.
Questions / Clarification Needed
- Is this a known change (bug vs. intentional deprecation)?
- Is there any official documentation indicating that Versions.aspx should not be used directly or will be removed?
If this is no safe way to handle such use-cases:
- What is the recommended way to open/display version history in SPFx solutions (=the exact same dialog with all features)? Is there a supported API or component that allows replicating the native SharePoint version history experience without reimplementing it from scratch?
Steps to reproduce
- Create a SPFx WebPart
- Implement an IFrame with an Version-History URL (Format:
https://<tenant>.sharepoint.com/sites/<site-collection>/_layouts/15/Versions.aspx?FileName=/sites/<site-collection>/Lists/<list-name>/<item-id>&IsDlg=1&list={<list-guid>})
- Be sure, that the referenced List has new experience where the default SharePoint Version-History opens in the new UI behaviour with Fluent UI components
Expected behavior
The version history dialog should render as before, showing all versions of the selected list item/document. Or an other, official supported solution how to reuse the SharePoint Version History Dialog.
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
π₯ SharePoint Framework
Developer environment
None
What browser(s) / client(s) have you tested
Additional environment details
Describe the bug / error
We are experiencing an issue where the SharePoint Versions.aspx page no longer behaves as expected. Previously, it was possible to open the version history dialog via a direct URL, but now the page only returns a blank (white) content.
Example URL:
https://<tenant>.sharepoint.com/sites/<site-collection>/_layouts/15/Versions.aspx?FileName=/sites/<site-collection>/Lists/<list-name>/<item-id>&IsDlg=1&list={<list-guid>}Observed Behavior
The page loads but displays no content (white/empty screen).
No obvious error message is shown in the UI and console.
This used to render the version history dialog correctly.
Context / Findings
It appears that SharePoint has introduced a new version of the version history dialog.
The previous _layouts/15/Versions.aspx endpoint may no longer be supported or may have changed behavior.
Questions / Clarification Needed
If this is no safe way to handle such use-cases:
Steps to reproduce
https://<tenant>.sharepoint.com/sites/<site-collection>/_layouts/15/Versions.aspx?FileName=/sites/<site-collection>/Lists/<list-name>/<item-id>&IsDlg=1&list={<list-guid>})Expected behavior
The version history dialog should render as before, showing all versions of the selected list item/document. Or an other, official supported solution how to reuse the SharePoint Version History Dialog.