Quantcast
Channel: Developing Apps for SharePoint 2013 forum
Viewing all articles
Browse latest Browse all 8089

Add SP Group to folder using CSOM/Javascript

$
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.

Regards,

Manoj


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


Viewing all articles
Browse latest Browse all 8089

Trending Articles



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