pnpjs icon indicating copy to clipboard operation
pnpjs copied to clipboard

Save document as draft/minor version

Open shaipetel opened this issue 1 year ago • 2 comments

What version of PnPjs library you are using

3.x

Minor Version Number

Any

Target environment

All

Additional environment details

React app

Question/Request

Is there an api to save a document (not a page) as draft or minor version, then publish the document to a major version? Searched the docs and only found api for pages. any assistance would be appreciated!

shaipetel avatar Mar 12 '24 09:03 shaipetel

I believe if you have versions enabled and save your changes but not check-in [checkin()] that will create minor versions. Have you tested it out?

patrick-rodgers avatar Mar 12 '24 12:03 patrick-rodgers

will try and update back, thanks!

shaipetel avatar Mar 12 '24 18:03 shaipetel

Closing this due to inactivity. If you continue to have issues please open a new issue, link to this issue, and provide any additional details available. Thanks!

bcameron1231 avatar Apr 01 '24 14:04 bcameron1231

This issue is locked for inactivity or age. If you have a related issue please open a new issue and reference this one. Closed issues are not tracked.

github-actions[bot] avatar Apr 04 '24 00:04 github-actions[bot]