Update ListItem from Client Objectmodel without changing the version?

Up vote 1 down vote favorite share g+ share fb share tw.

Var file = _ClientContext.Web. GetFileByServerRelativeUrl(serverRelativeUrl); _ClientContext. Load(file); _ClientContext.ExecuteQuery(); ListItem listItem = file.

ListItemAllFields; listItem"Created" = info.SourceFile. CreationTime; listItem"Modified" = info.SourceFile. LastWriteTime; MapMembers(listItem, info.

MetaData); listItem.Update(); listItem. SystemUpdate / Update(false) is not available in the Client ObjectModel. Thanks sharepoint2010 sharepoint-clientobject link|improve this question asked Jul 4 '11 at 9:28Marco63.

Microsoft.SharePoint.Client. File lp_newFile = lp_web. GetFileByServerRelativeUrl(lp_uri.

LocalPath); lp_context. Load(lp_newFile); lp_context.ExecuteQuery(); //check out to make sure not to create multiple versions lp_newFile.CheckOut(); ListItem lp_item = lp_newFile. ListItemAllFields; listItem"Created" = info.SourceFile.

CreationTime; listItem"Modified" = info.SourceFile. LastWriteTime; listItem.Update(); // use OverwriteCheckIn type to make sure not to create multiple versions lp_newFile. CheckIn(string.

Empty, CheckinType. OverwriteCheckIn).

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions