Class SmartFolderSelectorProperties
The client properties of the SmartFolderSelectorComponent component.
public sealed class SmartFolderSelectorProperties : FormComponentProperties, IFormComponentProperties
- Inheritance
-
objectSmartFolderSelectorProperties
- Implements
- Inherited Members
- Extension Methods
Constructors
SmartFolderSelectorProperties()
public SmartFolderSelectorProperties()
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
Cannot specify both AllowedReusableFieldSchemaIdentifiersFilter and AllowedContentTypeIdentifiersFilter.
AllowedReusableFieldSchemaIdentifiersFilter
A filter class to mark supported reusable field schemas. It must implement IReusableFieldSchemasFilter interface.
public Type AllowedReusableFieldSchemaIdentifiersFilter { get; }
Property Value
- Type
Remarks
Cannot specify both AllowedReusableFieldSchemaIdentifiersFilter and AllowedContentTypeIdentifiersFilter.
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.
[RadioGroupComponent(Label = "{$base.forms.smartfolder.selector.selectiontype.label$}", Inline = true, Options = "contentTypes;{$base.forms.smartfolder.selector.contentitemtypes.option$}\r\nreusableFieldSchemas;{$base.forms.smartfolder.selector.reusableschemas.option$}", Order = 0)]
public string SelectionType { get; }
Property Value
- string