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.
$().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) {
console.log(JSON.stringify(xData))
}});Please note: your document set content type id might be different than mine.