Table of Contents

Class FormSubmitActivityInitializer

Namespace
CMS.OnlineForms
Assembly
CMS.OnlineForms.dll

Represents implementation of IActivityInitializer for form submission activity.

public class FormSubmitActivityInitializer : IActivityInitializer
Inheritance
object
FormSubmitActivityInitializer
Implements
Derived
Extension Methods

Constructors

FormSubmitActivityInitializer(BizFormItem)

Instantiate new instance of FormSubmitActivityInitializer.

public FormSubmitActivityInitializer(BizFormItem recordItem)

Parameters

recordItem BizFormItem

Specifies the inserted record the activity is related to.

Exceptions

ArgumentNullException

recordItem is null.

FormSubmitActivityInitializer(BizFormItem, Guid, int, int)

Instantiate new instance of FormSubmitActivityInitializer.

public FormSubmitActivityInitializer(BizFormItem recordItem, Guid webPageItemGuid, int languageId, int channelId)

Parameters

recordItem BizFormItem

Specifies the inserted record the activity is related to.

webPageItemGuid Guid

Guid of the web page the activity is logged for.

languageId int

ID of the content language.

channelId int

ID of the channel.

Exceptions

ArgumentNullException

recordItem is null.

Properties

ActivityType

Gets string type of the activity (BIZFORM_SUBMIT).

public string ActivityType { get; }

Property Value

string

SettingsKeyName

Activity settings key name, used to check whether activity logging is enabled.

public string SettingsKeyName { get; }

Property Value

string

Methods

Initialize(IActivityInfo)

Initializes IActivityInfo properties.

public virtual void Initialize(IActivityInfo activity)

Parameters

activity IActivityInfo

Activity info