This project has moved and is read-only. For the latest updates, please go here.

Create New Document Set using SPServices

Jun 16, 2014 at 4:35 PM
Edited Jun 16, 2014 at 4:37 PM
I've been trying to create a Document Set using SP Services. The code executes without error, creates a record, and displays Document Set as the content type. However, it displays a folder instead of the document set Icon on views. Has anyone ran into this problem?

$().SPServices({operation: "UpdateListItems",async: false, batchCmd: "New",listName: "Documents"),valuepairs:[["ContentTypeId","0x0120D5200009A4CE8658E6EE47A5EEF340944F7537"],["Title","Document Name"],["BaseName","Document Name"],["DocumentSetDescription","Document Description"],completefunc: function (xData, Status) {

Please note: your document set content type id might be different than mine.
Jun 18, 2014 at 6:20 PM

Are Document Sets enabled as a Content Type on your list? Document Sets are just glorified folders, really. When you open one, do you see the home page of the Document Set?
Oct 6, 2014 at 12:31 PM
Did you manage to find a way around Document Set content types being created as folders?
I am experiencing the same problem.
Similar code as above.