Table of Contents

Class SmartFolderSelectorProperties

Namespace
Kentico.Xperience.Admin.Base.Forms
Assembly
Kentico.Xperience.Admin.Base.dll

The client properties of the SmartFolderSelectorComponent component.

public sealed class SmartFolderSelectorProperties : FormComponentProperties, IFormComponentProperties
Inheritance
object
SmartFolderSelectorProperties
Implements
Inherited Members
Extension Methods

Properties

AllowedContentTypeIdentifiers

Allowed content type identifiers.

[ObjectGuidSelectorComponent("cms.contenttype", WhereConditionProviderType = typeof(ReusableContentTypeWhereConditionProvider), Label = "{$base.forms.smartfolder.selector.contentitemtypes.label$}", Tooltip = "{$base.forms.smartfolder.selector.contentitemtypes.tooltip$}", Placeholder = "{$base.forms.smartfolder.selector.contentitemtypes.placeholder$}", MaximumItems = 1, Order = 1)]
[RequiredValidationRule]
[VisibleIfEqualTo("SelectionType", "contentTypes")]
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; }

Property Value

Type

Remarks

AllowedReusableFieldSchemaIdentifiersFilter

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

public Type AllowedReusableFieldSchemaIdentifiersFilter { get; }

Property Value

Type

Remarks

AllowedSchemaIdentifiers

Allowed reusable field schema identifiers.

[GeneralSelectorComponent(typeof(ContentItemSelectorSchemaOptionsProvider), Label = "{$base.forms.smartfolder.selector.reusableschemas.label$}", Tooltip = "{$base.forms.smartfolder.selector.reusableschemas.tooltip$}", Placeholder = "{$base.forms.smartfolder.selector.reusableschemas.placeholder$}", MaximumItems = 1, Order = 2)]
[RequiredValidationRule]
[VisibleIfEqualTo("SelectionType", "reusableFieldSchemas")]
public IEnumerable<string> AllowedSchemaIdentifiers { get; }

Property Value

IEnumerable<string>

SelectionType

Defines wheather reusable field schemas or content types should be selected.

public string SelectionType { get; }

Property Value

string