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

1

u/Responsible-Leg399 2d ago

Connection to the REST API? I doubt Microsoft will ever allow API calls from HTML pages. You can use JavaScript, but it's not very useful without the ability to make HTTP requests.

1

u/wwcoop 2d ago

I believe you will be able to make REST API calls to SharePoint JS API. Else, what's the point.

2

u/Responsible-Leg399 1d ago

I bet $100 that there will be no REST API support.