3

SharePoint REST API update modified date for the items, but I need to make change without update the date, how I can do this with REST API?

2 Answers 2

1

As far as I know, and as I have already wrote in this thread, the SystemUpdate and the UpdateOverwriteVersion methods are not implemented in the Client OM and in the REST API. If you decompile the Microsoft.SharePoint assembly (for example using Reflector or JetBrains dotPeek), you can see the lack of the attributes on these methods, that would be needed to client access.

1
  • As of August 2016, CSOM in SharePoint Online does support SystemUpdate. dev.office.com/blogs/… Commented Oct 17, 2016 at 2:52
0

This worked like a charm!

                item["StatusIndicator"] = "Red";
                item["Modified"] = item["Modified"];
                item["Created"] = item["Created"];
                item["Editor"] = item["Editor"];
                item["Author"] = item["Author"];
                item.Update();
                context.Load(item);
                context.ExecuteQuery();

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.