Just a quick post as a response to a question on a Facebook SharePoint group. He wanted to know, “Is it possible to embed a document library into an external web page?” Well, not exactly because we don’t do anonymous access any longer, but you can do this:
Synchronize a library with a folder in your OneDrive account.
If you click on the Synch button at the top of your library, you will get this:
Then you will see this possibly:
I had to kill my OneDrive to capture all of these screenshots for you folks reading. This is a person Business account. It isn’t Outlook.com or Hotmail.com. I own madwhitehatter.com, so I need to select Work or School.
Follow the little tutorial.
Change the permissions on the folder to allow anonymous access.
If you haven’t clicked on any files, click on Share.
I really like how you can set an expiration date, or even allow editing.
Take the code from OneDrive and put it on a page.
Click at the top where you see embed. You’ll see a little side window slide in.
Click on the Generate button. On the external page you are sharing, insert that piece of script.
Voila. You can now share externally. The key thing to remember is that if the person making that code ever leaves the organization, you are screwed. This is why I have a general [email protected] account for every O365 environment I am working with. If you are working with SharePoint 2013 or 2016, I’m sorry. I cannot confirm if the way that one could mirror a library to one’s OneDrive works the same way.