Nintex for SharePoint Forum
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
I'm trying to save the trouble of editing the workflow every time a new component is added and build a set of actions that would build a library name according to a standard, and then create a document set in that library. I am trying to use the Call Web Service with the following configuration:
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:m="http://schemas.microsoft.com/sharepoint/soap/">
<soap:Header/>
<soap:Body>
<m:UpdateListItems>
<m:listName>{Library Name}</m:listName>
<m:updates>
<Batch OnError="Continue">
<Method ID="2" Cmd="New">
<Field Name="ID">New</Field>
<Field Name="ows_ContentType">Resident Folder</Field>
<Field Name="ows_ContentTypeId">0x0120D5200084FC073EAB8A6549B4C579572554083100155A307745F4FC4B970F9714E551A017</Field>
<Field Name="Title">{Document Set Name}</Field>
</Method>
</Batch>
</m:updates>
</m:UpdateListItems>
</soap:Body>
</soap:Envelope>
Instead of a document set, what gets created is a "000 File" with the naming standard of "ID_.000". I also see that the ows_ContentType gets reset to "Resident Document".
Please help!
Hi,
What web service and method are you using?
URL: Web URL/_vti_bin/Lists.asmx
Web method: UpdateListItems
Unfortunately, the solution you suggested only explains how to creare a document set using the "Create item" action, while I have to use "Call web service", because the destination of the document set varies depending on a value in one of the columns of the item which triggers the document set creation.