Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds -DraftVersionVisibility option to Set-PnPList cmdlet #2285

Merged
merged 2 commits into from
Aug 27, 2022

Conversation

milanholemans
Copy link
Contributor

@milanholemans milanholemans commented Aug 27, 2022

Type

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

Fixes #2282

What is in this Pull Request ?

New option to set the draft item security in a list. Content approval should be enabled on the list in order to see this value changing in the UI.
Possible values: Reader, Author, Approver

Example:

Set-PnPList -Identity "Testlist" -DraftVersionVisibility Approver

@milanholemans milanholemans changed the title Adds DraftItemSecurity option to Set-PnPList cmdlet Adds -DraftVersionVisibility option to Set-PnPList cmdlet Aug 27, 2022
@gautamdsheth gautamdsheth merged commit 8a027d9 into pnp:dev Aug 27, 2022
@gautamdsheth
Copy link
Collaborator

Thanks @milanholemans , have merged the PR !

@milanholemans milanholemans deleted the setlist-draftitemsecurity branch August 27, 2022 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] - Adding -DraftVersionVisibility parameter to Set-PnPList cmdlet
2 participants