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
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.

Not the answer you're looking for? Browse other questions tagged or ask your own question.