Forum Discussion
Maurits Knoppert
Mar 26, 2018Iron Contributor
Embed SharePoint/OneDrive document on external website
There is an option to embed an excel file on a website. This works when yo are logged in in Office365.
There are a couple of blogpost about this and how you can tweak the embed URL to show an embed document anonymous on a website.
https://samuelmcneill.com/2017/11/02/how-to-publicly-embed-onedrive-for-business-documents/
The problem is that the URL generated from OneDrive or SharePoint is different from the blog posts.
How it was:
New URL
So the workarounds aren't working anymore. Does anyone have another solution
Maurits Knoppert
- DeletedI don't think it's the URL as much as it is the Default office render now rendering 270+ file types. Try slapping &download=1 to the end of the URL, this will cause it to work like a downloadable / linked file vs. a rendered file.
- DeletedScratch that, you want to render it on a page... the same thing should work no? Let me try it real fast with the embed.
- DeletedYeah, seems they have a way to detect embed's now and restrict it with new formatting. You can turn off the "Short" Url to cause the old URL's to go back to how they were. But not sure how long that fix will stay viable.