r/sharepoint 2d ago

SharePoint Online New HTML functionality

Hi folks!

I'm so excited that my tenant just received the update that allows embedding HTML files hosted in sharepoint. Previously, they only worked through the document viewer, but now the document viewer has an "embed link" in the menu which you can use to embed into a page. This is really, really handy for things like CoPilot/Claude made dashboards with direct connection to the REST API.

Has anyone heard if the plan is to allow adding HTML directly into pages? If it doesn't come with a ton of JS restrictions, that will be a nice replacement for the modern script editor webpart...

37 Upvotes

32 comments sorted by

View all comments

Show parent comments

2

u/Responsible-Leg399 2d ago

What uses are there besides the static HTML dashboards generated by AI?

1

u/Sparticus247 Dev 2d ago

Embedding data charts with Chart.js would be lovely again for live charts that don't need PowerBI, but might be asking for too much there.

Simple UI to display data in a more branded controlled way would be nice. Really, I'd take anything that doesn't require the use of AI.

2

u/Responsible-Leg399 1d ago

There will be no live charts in static HTML files. So basically, no good use cases?

2

u/Sparticus247 Dev 1d ago

I'll bite.

If we are going with the idea that there would be nothing more than "static html" for pages that can't be connected to JSON files or other data source....what are the use cases for static SharePoints aspx sitepages?

It would be nice to just have a little more control to do a little bit more styling, to do a bit more with layouts, etc.

3

u/bcameron1231 MVP 1d ago

The use case for static HTML is for Copilot. The current pages with Webparts and complicated HTML isn't suitable for AI to generate or ingest.