Skip to content

DraftVersionVisibility enum #1286

@jansenbe

Description

@jansenbe

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

Metadata

Metadata

Assignees

Labels

area: model 📐Related to the core SDK modelshelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions