Class FormActivityDefinition
Namespace: Casewhere.Models
Assembly: Casewhere.Models.dll
Represents a form activity definition. It contains information to build a UI activity in Casewhere workflow and collect information from or display information to end-users
public class FormActivityDefinition : ActivityDefinition
Inheritance
object ← ActivityDefinition ← FormActivityDefinition
Inherited Members
ActivityDefinition.GetLockContextRuleDefinition(), ActivityDefinition.GetConcurrencyTimeoutFormat(), ActivityDefinition.Id, ActivityDefinition.Name, ActivityDefinition.SequenceNumber, ActivityDefinition.CompletionRules, ActivityDefinition.InclusionRule, ActivityDefinition.RequireRule, ActivityDefinition.AutoCommitChanges, ActivityDefinition.EnableAuditLog, ActivityDefinition.AuditEventName, ActivityDefinition.EnableConcurrencyLocking, ActivityDefinition.ConcurrencyTimeout, ActivityDefinition.LockContextRuleExpression, object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()
Extension Methods
ObjectExtension.ConvertToBsonValue(object), EnumExtensions.DeepClone<FormActivityDefinition>(FormActivityDefinition)
Constructors
FormActivityDefinition()
public FormActivityDefinition()
Properties
AskToConfirmUnsavedChanges
Gets or sets a value indicating whether the form activity asks for confirmation before discarding unsaved changes.
public bool AskToConfirmUnsavedChanges { get; set; }
Property Value
CustomScripts
Gets or sets a value indicating whether custom scripts are enabled for the form activity.
public bool CustomScripts { get; set; }
Property Value
DisplayName
Gets or sets the display name of the form activity.
public string DisplayName { get; set; }
Property Value
EditableRule
Gets or sets the editable rule definition for the form activity.
public EditableRuleDefinition EditableRule { get; set; }
Property Value
EnableSaveDraft
Gets or sets a value indicating whether the form activity supports saving drafts.
public bool EnableSaveDraft { get; set; }
Property Value
FormDesign
Gets or sets the form design for the form activity. It contains the HTML, JS, CSS, other components to render form.
public FormDesign FormDesign { get; set; }
Property Value
FormDesignEnabled
Gets or sets a value indicating whether the form design is enabled for the form activity.
public bool FormDesignEnabled { get; set; }
Property Value
IsAutoComplete
Gets or sets a value indicating whether the form activity supports auto-complete.
public bool IsAutoComplete { get; set; }
Property Value
NavigationButtons
Gets or sets the list of navigation buttons associated with the form activity.
public IList<NavigationButton> NavigationButtons { get; set; }
Property Value
SaveDraftWarningMessage
Gets or sets the warning message displayed when saving a draft for the form activity.
public string SaveDraftWarningMessage { get; set; }
Property Value
SkipPostedData
public bool SkipPostedData { get; set; }
Property Value
UIScripts
Gets or sets the list of UI scripts associated with the form activity.
public IList<UIScript> UIScripts { get; set; }
Property Value
ValidationRules
Gets or sets the list of validation rule definitions for the form activity.
public IList<ValidationRuleDefinition> ValidationRules { get; set; }