Table of Contents

Class SmartFolderSelectorComponentAttribute

Namespace
Kentico.Xperience.Admin.Base.FormAnnotations
Assembly
Kentico.Xperience.Admin.Base.Shared.dll

Indicates that the SmartFolderSelector form component will be used for editing of this property value in the administration interface.

public sealed class SmartFolderSelectorComponentAttribute : FormComponentAttribute
Inheritance
object
Attribute
SmartFolderSelectorComponentAttribute
Inherited Members
Extension Methods

Remarks

The underlying property must be of the type SmartFolderReference.

Constructors

SmartFolderSelectorComponentAttribute()

Initialize new instance of SmartFolderSelectorComponentAttribute.

public SmartFolderSelectorComponentAttribute()

SmartFolderSelectorComponentAttribute(Type)

Initialize new instance of SmartFolderSelectorComponentAttribute.

[Obsolete("Use parameterless constructor setting either AllowedContentTypeIdentifiersFilter or AllowedReusableFieldSchemaIdentifiersFilter property directly.")]
[ObsoleteSince(29, 5)]
public SmartFolderSelectorComponentAttribute(Type contentTypeFilter = null)

Parameters

contentTypeFilter Type

Filters allowed content types or reusable field schemas. Cannot implement both interfaces at the same time:

Properties

AllowedContentTypeIdentifiers

Allowed content type identifiers.

public IEnumerable<Guid> AllowedContentTypeIdentifiers { get; }

Property Value

IEnumerable<Guid>

AllowedContentTypeIdentifiersFilter

A filter class to mark supported content types. It must implement IContentTypesNameFilter interface.

public Type AllowedContentTypeIdentifiersFilter { get; set; }

Property Value

Type

Remarks

AllowedReusableFieldSchemaIdentifiersFilter

A filter class to mark supported reusable field schemas. It must implement IReusableFieldSchemasFilter interface.

public Type AllowedReusableFieldSchemaIdentifiersFilter { get; set; }

Property Value

Type

Remarks

AllowedSchemaIdentifiers

Allowed reusable field schema identifiers.

public IEnumerable<string> AllowedSchemaIdentifiers { get; }

Property Value

IEnumerable<string>