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
DefaultContents
Default contents of document set.
public List<DocumentSetContentOptions> DefaultContents { get; set; }
Property Value
KeepExistingContentTypes
Defines if we keep the existing content types that are already allowed in the document set
public bool KeepExistingContentTypes { get; set; }
Property Value
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
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
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
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
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
WelcomePageUrl
Welcome page absolute URL.
public string WelcomePageUrl { get; set; }