Table of Contents

Class ReusableFieldSchemaEdit

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

General tab of the reusable schema edit page.

public sealed class ReusableFieldSchemaEdit : ReusableFieldSchemaEditBase, IPage
Inheritance
object
ReusableFieldSchemaEdit
Implements
Inherited Members
Extension Methods

Constructors

ReusableFieldSchemaEdit(IFormItemCollectionProvider, IFormDataBinder, IReusableFieldSchemaManager)

Initializes a new instance of the ReusableFieldSchemaEdit class.

public ReusableFieldSchemaEdit(IFormItemCollectionProvider formItemCollectionProvider, IFormDataBinder formDataBinder, IReusableFieldSchemaManager schemaManager)

Parameters

formItemCollectionProvider IFormItemCollectionProvider
formDataBinder IFormDataBinder
schemaManager IReusableFieldSchemaManager

Properties

SchemaGuid

Name of the schema.

[PageParameter(typeof(GuidPageModelBinder))]
public Guid SchemaGuid { get; set; }

Property Value

Guid

Methods

ConfigurePage()

Set up page's configuration. Configures the submit action.

public override Task ConfigurePage()

Returns

Task

GetFormItems()

Examines properties of Model and returns corresponding IFormItems.

protected override Task<ICollection<IFormItem>> GetFormItems()

Returns

Task<ICollection<IFormItem>>

Remarks

Override the method in case when additional set-up of form components is required.

GetModel()

Gets the ReusableFieldSchemaModel model.

protected override ReusableFieldSchemaModel GetModel()

Returns

ReusableFieldSchemaModel

ProcessFormData(ReusableFieldSchemaModel, ICollection<IFormItem>)

Stores the model and creates a response for the Submit(FormSubmissionCommandArguments) command.

protected override Task<ICommandResponse> ProcessFormData(ReusableFieldSchemaModel model, ICollection<IFormItem> formItems)

Parameters

model ReusableFieldSchemaModel

Model to be stored.

formItems ICollection<IFormItem>

Form items with bound component values.

Returns

Task<ICommandResponse>

The response to be used for the Submit(FormSubmissionCommandArguments) command.