vendredi 6 février 2015

How to make cross origin requests to the personal site in SharePoint Online



In SharePoint Online, I have a JavaScript that run on a normal site collection and tries to read data from the user's personal site (more specifically from the WmaAggregatorList_User list). This fails, likely because the site collection and personal site are different domains (site.sharepoint.com vs site-my.sharepoint.com), thus causing cross origin problems in the browser. I have tried various ways to read the data (RequestExecutor, JSOM, jQuery Ajax), both through REST and with CAML Query, but nothing works.


Has anyone succeeded in querying the personal site from a normal SharePoint Online site?








0 commentaires:

Enregistrer un commentaire