Table of Contents

Class DocumentSetOptions

Namespace
PnP.Core.Model.SharePoint
Assembly
PnP.Core.dll

Available options for a Document Set

public class DocumentSetOptions
Inheritance
DocumentSetOptions
Inherited Members

Properties

AllowedContentTypes

List of the allowed content types in the document set

public List<IContentType> AllowedContentTypes { get; set; }

Property Value

List<IContentType>

DefaultContents

Default contents of document set.

public List<DocumentSetContentOptions> DefaultContents { get; set; }

Property Value

List<DocumentSetContentOptions>

KeepExistingContentTypes

Defines if we keep the existing content types that are already allowed in the document set

public bool KeepExistingContentTypes { get; set; }

Property Value

bool

KeepExistingDefaultContent

Defines if we keep the existing default contents or delete those (by not adding them to our body)

public bool KeepExistingDefaultContent { get; set; }

Property Value

bool

KeepExistingSharedColumns

Defines if we keep the existing shared columns or delete those (by not adding them to our body)

public bool KeepExistingSharedColumns { get; set; }

Property Value

bool

KeepExistingWelcomePageColumns

Defines if we keep the existing welcome page columns or delete those (by not adding them to our body)

public bool KeepExistingWelcomePageColumns { get; set; }

Property Value

bool

PropagateWelcomePageChanges

Specifies whether to push welcome page changes to inherited content types.

public bool? PropagateWelcomePageChanges { get; set; }

Property Value

bool?

SharedColumns

Columns edited on the document set that synchronize to all documents in the set. These are read-only on the documents themselves.

public List<IField> SharedColumns { get; set; }

Property Value

List<IField>

ShouldPrefixNameToFile

Indicates whether to add the name of the document set to each file name.

public bool? ShouldPrefixNameToFile { get; set; }

Property Value

bool?

WelcomePageColumns

Specifies columns to show on the welcome page for the document set.

public List<IField> WelcomePageColumns { get; set; }

Property Value

List<IField>

WelcomePageUrl

Welcome page absolute URL.

public string WelcomePageUrl { get; set; }

Property Value

string