Pnpjs: Is there any way to update the metadata columns of a file without creating the version using pnpjs

Created on 14 Mar 2019  路  2Comments  路  Source: pnp/pnpjs

Thank you for reporting an issue, suggesting an enhancement, or asking a question. We appreciate your feedback - to help the team understand your
needs please complete the below template to ensure we have the details to help. Thanks!

Please check out the Docs to see if your question is already addressed there. This will help us ensure our documentation covers the most frequent questions.

Category

  • [ ] Enhancement
  • [ ] Bug
  • [x] Question
  • [ ] Documentation gap/issue

Version

Please specify what version of the library you are using: [ ]

Please specify what version(s) of SharePoint you are targeting: [ ]

If you are not using the latest release, please update and see if the issue is resolved before submitting an issue.

Expected / Desired Behavior / Question

If you are reporting an issue please describe the expected behavior. If you are suggesting an enhancement please
describe thoroughly the enhancement, how it can be achieved, and expected benefit. If you are asking a question, ask away!

Observed Behavior

If you are reporting an issue please describe the behavior you expected to occur when performing the action. If you are making a
suggestion or asking a question delete this section.

Steps to Reproduce

If you are reporting an issue please describe the steps to reproduce the bug in sufficient detail to allow testing. If you are making
a suggestion or asking a question delete this section.

Submission Guidelines

Delete this section after reading

  • All suggestions, questions and issues are welcome, please let us know what's on your mind.
  • Remember to include sufficient details and context.
  • Please check back occasionally on your issue as we may have follow up questions.
  • If you have multiple suggestions, questions, or bugs please submit them in seperate issues so we can track resolution.

Thank you for your feedback!

sample answered question

Most helpful comment

There is no system update available in REST API. But there are workarounds for this, e.g. validateUpdateListItem with corresponding metadata manipulations (to keep editor/modified date the same if needed). For the case of not incrementing a version, validateUpdateListItem should work.

For more details please check the article on the topic - List Items System Update options in SharePoint Online. There is also a demo with these samples commuted on SIG call, yet have no link by hand.

All 2 comments

There is no system update available in REST API. But there are workarounds for this, e.g. validateUpdateListItem with corresponding metadata manipulations (to keep editor/modified date the same if needed). For the case of not incrementing a version, validateUpdateListItem should work.

For more details please check the article on the topic - List Items System Update options in SharePoint Online. There is also a demo with these samples commuted on SIG call, yet have no link by hand.

Thanks a lot. It's working.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ITAndy23 picture ITAndy23  路  3Comments

DennisGaida picture DennisGaida  路  3Comments

simonagren picture simonagren  路  3Comments

KieranDaviesV picture KieranDaviesV  路  3Comments

muraray picture muraray  路  3Comments