Search Posts

WordPress SharePoint tag to read document library

I want to display files in SharePoint’s document library in my wordpress. There is one big technical problem, javascript still can’t do external authentication to SharePoint, by default your browser blocked corss site script. Even you enabled it in command line, your javascript still can’t set the custom “Cookie” in the header that need to pass to SharePoint restful. So I enhanced my Sharepoint-Java-API  so it can deploy to azure functions. Then my wordpress php code just call to my azure functions to do authentication to SPO, after that i got the token from sharepoint and i can use it to call any SharePoint restful API.

With this technical, i can develop a wordpress plugin to do “active sync to sharepoint”, synchronize wordpress posts to SharePoint online.

Leave a Reply

Your email address will not be published. Required fields are marked *