Is it possible to overwrite file in document libraries with versioning enabled?
I am unable to find any information about this.
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.
Sign up to join this communityIs it possible to overwrite file in document libraries with versioning enabled?
I am unable to find any information about this.
To overwrite file version you should use SystemUpdate
method. For a long time is was available only in Server Side Object Model.
According to Office Dev blog post it is now available in CSOM also but only in SharePoint Online/Office 365 environment, as mentioned in this post.
Here is CSOM SystemUpdate method description in MSDN.