Tuesday, September 22, 2009

UpdateListItems is not saving data into sharepoint list

Possible reasons are:
1. Your view does not have a column which is used in Field list in CAML query ("" + userId + "" UserId is not a part of the view which is used in ViewName attaribute.
Like in batchElement.SetAttribute("ViewName", “Default View”); userId is not part of default view)
2. Check the date fields, if it has default value set, than it will be failed. Or if it has not a proper format than it will be failed.

Make your application in minutes and also take part in green movement

Hi,
www.code4green.com is provided a very helpful Web based Code Generation tool. It is free and it does 80% work for an application.
I have using this tool since it has started beta version and It is helping me alot.
Go for the Green coding and use www.code4green.com
If you have any questuin regarding this tool, please write on this blog, I will help you out to make your application in minutes.