Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Updating batch list item (caml)

$
0
0

Hello,

I'm trying to update a custom code that connects to SharePoint using Client Object Model, originally that code was written and running for SharePoint 2010 and using web services method UpdateListItems(listName, xmlFields). But now the server will be migrated to 2013 and I'd like to continue using same UpdateListItems web service method.

I've trying successfully using cookies as recommended here http://blogs.msdn.com/b/cjohnson/archive/2011/05/03/authentication-with-sharepoint-online-and-the-client-side-object-model.aspx

Basically, it is a program that creates a web browser control and after putting manually the credentials it stores a cookie which then allows to execute successfully UpdateListItems.

But, that in real, the program should be able to Update List Items without having to put the credentials, since this program runs by itself, 

I don't know if there is a possibility to set those credentials and generate that cookie automatically, or 

If there is a better way to try to use UpdateListItems

Thanks!


Viewing all articles
Browse latest Browse all 7589

Trending Articles