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

DraftVersionVisibility enum #1286

Closed
jansenbe opened this issue Sep 28, 2023 Discussed in #1284 · 1 comment
Closed

DraftVersionVisibility enum #1286

jansenbe opened this issue Sep 28, 2023 Discussed in #1284 · 1 comment
Assignees
Labels
area: model 📐 Related to the core SDK models help wanted Extra attention is needed

Comments

@jansenbe
Copy link
Contributor

Discussed in #1284

Originally posted by dabaker6 September 27, 2023
I'm in the middle of migrating from an old tool using SharePointPnPCoreOnline. When enabling content approval in lists there was the following enum for who is able to see draft versions of items.

public enum DraftVisibilityType
{
  Reader, 
  Author,
  Approver
}

I can see the property on the list object in PnP Core SDK is an int, is it possible to have this as an enum?

https://pnp.github.io/pnpcore/api/PnP.Core.Model.SharePoint.IList.html#PnP_Core_Model_SharePoint_IList_DraftVersionVisibility

@jansenbe jansenbe added help wanted Extra attention is needed area: model 📐 Related to the core SDK models labels Sep 28, 2023
jansenbe added a commit that referenced this issue Oct 2, 2023
@jansenbe jansenbe self-assigned this Oct 2, 2023
@jansenbe
Copy link
Contributor Author

jansenbe commented Oct 2, 2023

@dabaker6: this has been implemented and will be part of the next nightly. Closing this issue now.

@jansenbe jansenbe closed this as completed Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: model 📐 Related to the core SDK models help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant