Is it possible to create a SharePoint document set via Web Services only. I have been looking into List.UpdateListItem method and Copy but could not find a way to do it. Is this even possible with Web Services only?


No, there is no native web service that allows you to create a DocSet. You have to write code to do this.

Two techniques:

Use the client OM to create one: http://sharepointfieldnotes.blogspot.com/2010/02/how-to-create-document-set-remotely.html

Use the server OM to create one: http://sharepointfieldnotes.blogspot.com/2010/05/making-your-sharepoint-2010_31.html

Using the latter, you can wrap this call in a WCF service to create your own DocSet service and deploy it to the ISAPI folder on SharePoint. Here's the info on writing a WCF service in SharePoint: http://msdn.microsoft.com/en-us/library/ff521581.aspx

| improve this answer | |
  • is there an ECMA/js way to use the COM exmaple from that link? – Justin Sep 30 '12 at 1:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.