Class FormSubmitActivityInitializer
- Namespace
- CMS.OnlineForms
- Assembly
- CMS.OnlineForms.dll
Represents implementation of IActivityInitializer for form submission activity.
public class FormSubmitActivityInitializer : IActivityInitializer
- Inheritance
-
objectFormSubmitActivityInitializer
- Implements
- Derived
- Extension Methods
Constructors
FormSubmitActivityInitializer(BizFormItem)
Instantiate new instance of FormSubmitActivityInitializer.
public FormSubmitActivityInitializer(BizFormItem recordItem)
Parameters
recordItem
BizFormItemSpecifies the inserted record the activity is related to.
Exceptions
- ArgumentNullException
recordItem
isnull
.
FormSubmitActivityInitializer(BizFormItem, Guid, int, int)
Instantiate new instance of FormSubmitActivityInitializer.
public FormSubmitActivityInitializer(BizFormItem recordItem, Guid webPageItemGuid, int languageId, int channelId)
Parameters
recordItem
BizFormItemSpecifies the inserted record the activity is related to.
webPageItemGuid
GuidGuid of the web page the activity is logged for.
languageId
intID of the content language.
channelId
intID of the channel.
Exceptions
- ArgumentNullException
recordItem
isnull
.
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
IActivityInfoActivity info