Forum Discussion
DallasBland
Oct 01, 2019Copper Contributor
How do I set the number of draft/minor versions each major version can have?
Hi all Microsoft claims (https://support.office.com/en-US/client/results?Shownav=true&lcid=1033&ns=SPOSTANDARD&version=16&omkt=en-US&helpID=documentversions&ver=16&services=KAIZALA_O365_P3%2CMICROSO...
DallasBland
Oct 13, 2019Copper Contributor
Hi SinhaKislay
I contacted Microsoft Prem support and it turns out it is possible to control this minor version setting. Just not through the SP UI. It has to be done by powershell. See Example 5 at this linked article.
https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/set-pnplist?view=sharepoint-ps
Cheers
Dallas
Andreas Maiwald
Microsoft
Feb 01, 2021Just tried it out, unfortunately the PnP Example 5 just sets the number of Major Versions with Draft Items but does not limit the Drafts themselves, reflected in the UI Library Versioning Settings afterwards, same like the UI Config itself!