Search Results for

    Show / Hide Table of Contents

    Class DocumentSetOptions

    Available options for a Document Set

    Inheritance
    System.Object
    DocumentSetOptions
    Namespace: PnP.Core.Model.SharePoint
    Assembly: PnP.Core.dll
    Syntax
    public class DocumentSetOptions : object

    Properties

    AllowedContentTypes

    List of the allowed content types in the document set

    Declaration
    public List<IContentType> AllowedContentTypes { get; set; }
    Property Value
    PnP.Core.Model.SharePoint.List<IContentType>

    DefaultContents

    Default contents of document set.

    Declaration
    public List<DocumentSetContentOptions> DefaultContents { get; set; }
    Property Value
    PnP.Core.Model.SharePoint.List<DocumentSetContentOptions>

    KeepExistingContentTypes

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

    Declaration
    public bool KeepExistingContentTypes { get; set; }
    Property Value
    System.Boolean

    KeepExistingDefaultContent

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

    Declaration
    public bool KeepExistingDefaultContent { get; set; }
    Property Value
    System.Boolean

    KeepExistingSharedColumns

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

    Declaration
    public bool KeepExistingSharedColumns { get; set; }
    Property Value
    System.Boolean

    KeepExistingWelcomePageColumns

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

    Declaration
    public bool KeepExistingWelcomePageColumns { get; set; }
    Property Value
    System.Boolean

    PropagateWelcomePageChanges

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

    Declaration
    public bool? PropagateWelcomePageChanges { get; set; }
    Property Value
    System.Nullable<System.Boolean>

    SharedColumns

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

    Declaration
    public List<IField> SharedColumns { get; set; }
    Property Value
    PnP.Core.Model.SharePoint.List<IField>

    ShouldPrefixNameToFile

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

    Declaration
    public bool? ShouldPrefixNameToFile { get; set; }
    Property Value
    System.Nullable<System.Boolean>

    WelcomePageColumns

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

    Declaration
    public List<IField> WelcomePageColumns { get; set; }
    Property Value
    PnP.Core.Model.SharePoint.List<IField>

    WelcomePageUrl

    Welcome page absolute URL.

    Declaration
    public string WelcomePageUrl { get; set; }
    Property Value
    System.String

    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer