A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
We use REST API's validateupdatelistitem. This works well.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Is it possible to update a custom field value in a SharePoint item without triggering a version increment? If so, what approach can be used?
I found some rest API I was able to modify filed but version increased but modification time not.
I tried add in body in REST API call
"bNewDocumentUpdate": true
I played with headers
'Accept': 'application/json;odata=verbose',
'Content-Type': 'application/json;odata=verbose',
'X-RequestDigest': requestDigest,
'IF-MATCH': '*',
'X-HTTP-Method': 'MERGE'
Thank you for response
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
We use REST API's validateupdatelistitem. This works well.
Hi,
Thanks for sharing back with us after your further troubleshooting, but to make sure you can get the professional and appropriate support from SharePoint escalated engineers, I recommend you post in the related Microsoft Q&A Community, which is the specific channel to handle such SharePoint developed customization and engineers there have more overall support resources like REST API. You may use SharePoint Development tag when" Ask a question".
Below I attached a screenshot from the search results from QA Community, you can see many other users have post similar query as yours and it can get addressed by the related engineers.
Best Regards,
Mia
it is working without this header 'X-HTTP-Method': 'MERGE'
field is updated and version is still same
Hi Rastislav Janotka,
I went through your post carefully and do understand your great idea of trying to update the custom field without triggering a version increment.
In this situation, I also searched online and from what I found there may indeed require the REST API with specific headers and body parameters to call, so to make sure you can get the professional and appropriate support from SharePoint escalated engineers, I recommend you post in the related Microsoft Q&A Community, which is the specific channel to handle such SharePoint developed customization and engineers there have more overall support resources like REST API. You may use SharePoint Development tag when" Ask a question".
Please accept my apologies for redirecting you to different community as the members in the category posted focus on the users with out-of-the-box functions and quires on SharePoint Online, and have limited knowledge and resources on the development customization, so to get the fast and better assistance, we have redirected you in the correct path.
Meanwhile, I will keep your thread open here and welcome other community members or MVPs may share their suggestions and experience for you.
Please correct me if I made any misunderstanding or if there have anything else I can do for you.
Your patience is highly appreciated. Hope you a nice day and stay safe!
Best Regards,
Mia