Table of Contents

Class EmailTemplateCreate

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

Email template creation page.

public sealed class EmailTemplateCreate : CreatePage<EmailTemplateInfo, EmailTemplateCode>, IPage
Inheritance
object
EmailTemplateCreate
Implements
Inherited Members
Extension Methods

Constructors

EmailTemplateCreate(IFormComponentMapper, IFormDataBinder, IPageLinkGenerator, IEmailTemplateDefaultCodeProvider)

Initializes an instance of the EmailTemplateCreate class.

public EmailTemplateCreate(IFormComponentMapper formComponentMapper, IFormDataBinder formDataBinder, IPageLinkGenerator pageLinkGenerator, IEmailTemplateDefaultCodeProvider emailTemplateDefaultCodeProvider)

Parameters

formComponentMapper IFormComponentMapper
formDataBinder IFormDataBinder
pageLinkGenerator IPageLinkGenerator
emailTemplateDefaultCodeProvider IEmailTemplateDefaultCodeProvider

Methods

ConfigurePage()

Set up page's configuration. Configures UI page.

public override Task ConfigurePage()

Returns

Task

FinalizeInfoObject(EmailTemplateInfo, IFormFieldValueProvider, CancellationToken)

Allows to modify values of infoObject before validation and saving.

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

Parameters

infoObject EmailTemplateInfo

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.