Forum Discussion
Arun C
Jun 30, 2017Copper Contributor
Activate Site Feature through REST API
I'm trying to activate site level feature by using REST API in SharePoint Hosted App. I've given full control at Site Collection & Site level with App only Calls. But I'm getting "Access Denied Error...
Jul 11, 2017
Does instead of
$pnp.sp.crossDomainWeb(addinweb, hostweb).get().....
maybe somethign like this work:
$pnp.sp.crossDomainWeb(addinweb, hostweb).features........
Arun C
Jul 11, 2017Copper Contributor
I've tried the same, but getting error
"Cannot read property 'add' of undefined"
"Cannot read property 'add' of undefined"