The process of building custom applications and tools that interact with Microsoft SharePoint, including SharePoint Online in Microsoft 365.
I'm just a fellow community user, not a Microsoft employee, so I can't speak for Microsoft's future plans. Here is what I found in Microsoft's published information.
- Modern pages after October 1, 2028 The October 2028 changes target classic pages. In the SharePoint team's announcement, Microsoft states that the setting applies only to classic pages, that modern SharePoint pages are not affected, and that custom solutions built on SPFx will continue to work under your organization's existing governance. Based on that, your modern Site Page should remain editable.
- Custom script (DenyAddAndCustomizePages) and your web part From Phase 2, the ability to add or update custom scripts is disabled and DenyAddAndCustomizePages is enforced as True. This setting controls web parts that declare requiresCustomScript: true: those web parts are only available where custom script is allowed. Since your package declares "requiresCustomScript": false, it shouldn't be blocked by that setting, and I would expect it to keep rendering. However, I couldn't find any Microsoft documentation that explicitly covers script editor-style web parts, so I can't confirm this officially.
- Is this an officially supported approach? Script editor web parts for modern pages are community samples (for example from the PnP samples gallery), not Microsoft products, so Microsoft doesn't provide support for them. Also note that a web part that lets page editors inject arbitrary HTML and JavaScript without requiring custom script effectively bypasses the purpose of the custom script control, so your SharePoint administrators and security team should be aware of and approve this approach.
- Recommendation For a long-term, maintainable solution, I'd recommend moving the dashboard logic into a dedicated SPFx web part: package your JavaScript and libraries in the solution (instead of injecting them at runtime), use SPFx's built-in APIs to read your SharePoint lists, and deploy it through the App Catalog. This keeps the code under source control and normal deployment governance, and doesn't depend on the behavior of a script injection web part. You could do this step by step, widget by widget, rather than rebuilding everything at once.
References:
- Upcoming changes to classic experiences in SharePoint Online
- Deprecation of classic user-created pages – Microsoft Learn
I hope this helps you plan the migration.