nina
nina

Reputation: 95

item.systemupdate() working only for share point online and not for on premise csom

Tried to use item.systemupdate() SharePoint 2013 and 2016 environment using csom. However it throws exception"system update" method cannot be found.

The same thing is working for SharePoint online

Is it the limitation that it will work only for online SharePoint and not for on-prem csom

Upvotes: 3

Views: 3292

Answers (2)

Lars Fastrup
Lars Fastrup

Reputation: 5506

Currently, your best option for on-premises solutions is the ListItem.ValidateUpdateListItem method. It can update a list item without creating a new version. But it will update the last modified by user and the last modified timestamp unless you explicitly set those fields in your request.

Upvotes: 2

UBK
UBK

Reputation: 242

Please check the Microsoft.SharePoint.Client.dll that you are using. If possible get the latest version from NuGet and then check.

This seems to be related to the dll.

Upvotes: 1

Related Questions