Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Adding SP Group to Folder using JSOM in O365

$
0
0

Hi,

Is it possible to add a SharePoint Group to a folder in a Document Library using client side javascript?

We can't use the normal methods because SP.Folder object doesn't have get_roleAssignments() method. I'm looking to run a script from a page within a Script Editor wp to get this done from a button click.

I'm not creating an app but trying to achieve this from an aspx page using a script editor webpart.

PS: I have posted this query to another forum here but haven't got an answer hence thought I'll check with the developer forum


-- The opinions expressed here represent my own and not those of anybody else -- http://manojvnair.blogspot.com


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>