Search Results for

    Show / Hide Table of Contents

    Class DocumentSetOptions

    Available options for a Document Set

    Inheritance
    object
    DocumentSetOptions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: PnP.Core.Model.SharePoint
    Assembly: PnP.Core.dll
    Syntax
    public class DocumentSetOptions

    Properties

    AllowedContentTypes

    List of the allowed content types in the document set

    Declaration
    public List<IContentType> AllowedContentTypes { get; set; }
    Property Value
    List<IContentType>

    DefaultContents

    Default contents of document set.

    Declaration
    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

    Declaration
    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)

    Declaration
    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)

    Declaration
    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)

    Declaration
    public bool KeepExistingWelcomePageColumns { get; set; }
    Property Value
    bool

    PropagateWelcomePageChanges

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

    Declaration
    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.

    Declaration
    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.

    Declaration
    public bool? ShouldPrefixNameToFile { get; set; }
    Property Value
    bool?

    WelcomePageColumns

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

    Declaration
    public List<IField> WelcomePageColumns { get; set; }
    Property Value
    List<IField>

    WelcomePageUrl

    Welcome page absolute URL.

    Declaration
    public string WelcomePageUrl { get; set; }
    Property Value
    string

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