Table of Contents

Class TrackedWebsiteEdit

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

General tab of the tracked website's edit page.

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

Constructors

TrackedWebsiteEdit(IFormComponentMapper, IFormDataBinder, IInfoProvider<WebsiteChannelInfo>, IWebsiteChannelDomainProvider)

Initializes a new instance of the TrackedWebsiteEdit class.

public TrackedWebsiteEdit(IFormComponentMapper formComponentMapper, IFormDataBinder formDataBinder, IInfoProvider<WebsiteChannelInfo> websiteChannelInfoProvider, IWebsiteChannelDomainProvider websiteChannelDomainProvider)

Parameters

formComponentMapper IFormComponentMapper
formDataBinder IFormDataBinder
websiteChannelInfoProvider IInfoProvider<WebsiteChannelInfo>
websiteChannelDomainProvider IWebsiteChannelDomainProvider

Properties

ObjectId

ID of the tracked website.

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

Property Value

int

Methods

Change(FormChangeCommandArguments)

Handles the form change command. The command is invoked whenever visibility conditions of the form need to be reevaluated to re-render the form.

public override Task<ICommandResponse<FormChangeResult>> Change(FormChangeCommandArguments args)

Parameters

args FormChangeCommandArguments

Form change arguments.

Returns

Task<ICommandResponse<FormChangeResult>>

Returns the form change result.

ConfigurePage()

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

public override Task ConfigurePage()

Returns

Task

FinalizeInfoObject(TrackedWebsiteInfo, IFormFieldValueProvider, CancellationToken)

Allows to modify values of infoObject before validation and saving.

protected override Task FinalizeInfoObject(TrackedWebsiteInfo infoObject, IFormFieldValueProvider fieldValueProvider, CancellationToken cancellationToken)

Parameters

infoObject TrackedWebsiteInfo

Info object to be set.

fieldValueProvider IFormFieldValueProvider

Provider of form field values.

cancellationToken CancellationToken

The cancellation instruction.

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.