Batch update Sharepoint List
-
16 Maret 2012 19:44
Hi
I have to update a huge number of items in the sharepoint 2007 list. I am using web.ProcessBatchData(batch); Is there any limitation for the number of records that can be updated in one shot using this method.
Semua Balasan
-
16 Maret 2012 20:53
Hi,
It should be less than 2000 items.
Refer this:
http://msdn.microsoft.com/en-us/library/cc404818(v=office.12).aspx
Thanks, Rahul Rashu
-
19 Maret 2012 14:35
Hi Rahul,
Thanks for you reply, but in the link which you have referred, they are fetching the records from the list and then updating it. And row limit is mentioned for that spquery only but in my case i am not fetching any records, i am just updating all the records in the list directly. In that case will there be any restriction. Thanks !
- Diedit oleh RK Senthil 19 Maret 2012 14:36 typo error
-
19 Maret 2012 15:08
hello
I think no, because if you will check implementation of SPWeb.ProcessBatchData(...) method, there are no visible places which check input xml for some limits in native part of the code. Also such limits are not documented. Then call is redirected to native SPRequestInternalClass.ProcessBatchData(...), which is not documented either. In such conditions I would assume that there are no limits.
Blog - http://sadomovalex.blogspot.com
CAML via C# - http://camlex.codeplex.com- Ditandai sebagai Jawaban oleh Daniel YangMicrosoft Contingent Staff, Moderator 25 Maret 2012 7:13