Table of Contents

Class HeadlessItemSelectorProperties

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

Represents properties of the HeadlessItemSelectorComponent.

public sealed class HeadlessItemSelectorProperties : ContentItemSelectorBaseProperties, IFormComponentProperties
Inheritance
object
HeadlessItemSelectorProperties
Implements
Inherited Members
Extension Methods

Properties

AllowedContentItemTypeIdentifiers

Marks supported headless item types.

[ObjectGuidSelectorComponent("cms.contenttype", WhereConditionProviderType = typeof(HeadlessContentTypeWhereConditionProvider), Label = "{$headless.items.selector.headlessitemtypes.label$}", Tooltip = "{$headless.items.selector.headlessitemtypes.tooltip$}", Placeholder = "{$headless.items.selector.headlessitemtypes.placeholder$}", Order = 1)]
[RequiredValidationRule]
[VisibleIfEqualTo("SelectionType", "contentTypes")]
public override IEnumerable<Guid> AllowedContentItemTypeIdentifiers { get; }

Property Value

IEnumerable<Guid>

AllowedSchemaIdentifiers

Marks supported reusable field schemas.

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

Property Value

IEnumerable<string>

Remarks

Stores reusable field schema guids as strings.

SelectionType

Specifies the selector selection type.

public override string SelectionType { get; }

Property Value

string
See Also
ContentItemSelectorSelectionType