Hi All,
I'm trying to copy a list item into folder in a document library.
I have used the "Lists.asmx" webservice for it and the "UpdateListItems" webmethod.
Below is my XML, I have used a "FileDirRef" to provide the folder under which I need to copy the item.
But the item is been copied outside the folder at the library level.
XML
<m:UpdateListItems>
<m:listName>Archival List</m:listName>
<m:updates>
<Batch OnError="Continue" ListVersion="1" ViewName="">
<Method ID="1" Cmd="New">
<Field Name="er">Test</Field>
<Field Name="FileDirRef">[Site URL]/Sites/C0001968/Archival List/18-May-2015</Field>
</Method>
</Batch>
</m:updates>
</m:UpdateListItems>
Output:
Can someone please tell where I'm going wrong.
Thanks in Advance
Regards,
Shyam
