Forum Discussion
Robin Güldenpfennig
Apr 02, 2017Brass Contributor
SharePoint Framework SPFx - change site collection scope
Hi folks, I'm trying to access a List from a different site collection (in this case the MySite of the user). Currently I do it like this with PnP JS Core: let web = new Web(webUrl);
web.lis...
paulpascha
Apr 05, 2017Bronze Contributor
I think this has to do with scripting capabilities being turned off by default for Personal Sites, see the following article:
https://support.office.com/en-us/article/Turn-scripting-capabilities-on-or-off-1f2c515f-5d7e-448a-9fd7-835da935584f?ui=en-US&rs=en-US&ad=US&fromAR=1
Robin Güldenpfennig
Apr 19, 2017Brass Contributor
Hi Paul,
I don't think so because I just want to access the REST API with the PnP JS Core Framework. When I access the API manually it works fine.
I need to instantiate a new web context where my authentication information is transferred, that's the problem I think.
I don't think so because I just want to access the REST API with the PnP JS Core Framework. When I access the API manually it works fine.
I need to instantiate a new web context where my authentication information is transferred, that's the problem I think.