Table of Contents

Class WorkflowEdit

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

General tab of a Workflow edit page.

public sealed class WorkflowEdit : InfoEditPage<ContentWorkflowInfo>, IPage
Inheritance
object
WorkflowEdit
Implements
Inherited Members
Extension Methods

Constructors

WorkflowEdit(IFormComponentMapper, IFormDataBinder)

Creates a new instance of WorkflowEdit.

public WorkflowEdit(IFormComponentMapper formComponentMapper, IFormDataBinder formDataBinder)

Parameters

formComponentMapper IFormComponentMapper
formDataBinder IFormDataBinder

Properties

ObjectId

ID of the object.

[PageParameter(typeof(IntPageModelBinder))]
public override int ObjectId { get; set; }

Property Value

int

Methods

ConfigurePage()

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

public override Task ConfigurePage()

Returns

Task

GetFormItems()

Prepares form items for editing object of the specified ObjectType.

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

Returns

Task<ICollection<IFormItem>>

Returns the collection of form items.

SetFormData(ContentWorkflowInfo, IFormFieldValueProvider)

Sets the infoObject.

protected override Task SetFormData(ContentWorkflowInfo infoObject, IFormFieldValueProvider fieldValueProvider)

Parameters

infoObject ContentWorkflowInfo

Info object to be set.

fieldValueProvider IFormFieldValueProvider

Provider of form field values.

Returns

Task