views:

253

answers:

0

I'm using the following command to insert an SPListItem to the root folder of a Sharepoint list using SPWeb.ProcessBatchData method:

<?xml version="1.0" encoding="UTF-8"?>
<ows:Batch OnError="Continue">
  <Method>
    <SetList Scope="Request">ac8e81a0-7e38-4094-a15c-2714e43bb994</SetList>
    <SetVar Name="Cmd">Save</SetVar>
    <SetVar Name="ID">New</SetVar>
    <SetVar Name="urn:schemas-microsoft-com:office:office#Title">Title 1</SetVar>
  </Method>
</ows:Batch>

Is there a way to insert an SPListItem to the subfolder of the list?

Let's say that I have a Custom List named MyList. Inside MyList I create a folder named Folder1. Using the batch process I would like to insert an SPListItem inside Folder1.

I appreciate any help. Thanks.