You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One the documentation the description of the parameter ApplyToNewDocumentLibraries says: Sets site version policy for new document libraries. Works with parameters EnableAutoExpirationVersionTrim, ExpireVersionsAfterDays, MajorVersions and MajorWithMinorVersions.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi Everyone,
One the documentation the description of the parameter ApplyToNewDocumentLibraries says:
Sets site version policy for new document libraries. Works with parameters EnableAutoExpirationVersionTrim, ExpireVersionsAfterDays, MajorVersions and MajorWithMinorVersions.
As far as I've seen MajorWithMinorVersions is not supported for new library tempaltes, and I don't see this been implemeted on code: https://github.com/pnp/powershell/blob/dev/src/Commands/Site/SetSiteVersionPolicy.cs#L145-L149
I also haven't seen any method from CSOM Class SiteVersionPolicyManager accepting MajorWithMinorVersions.
Just checking in case I've missing something or it's just a smallt typo on the kb.
Beta Was this translation helpful? Give feedback.
All reactions