APEXFORM

Stores the layout of web forms

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
NAME nvarchar(256) Default = '' Name of the web form
LAYOUT xml Apex form layout serialized
ISDEFAULT bit Default = 1 default form instance
DATEADDED datetime Default = getdate() Indicates the date this record was added.
DATECHANGED datetime Default = getdate() Indicates the date this record was last changed.
TS timestamp Timestamp.
TSLONG bigint (Computed) yes CONVERT(bigint, TS) Numeric representation of the timestamp.
OWNERID int Default = 1 Form owner ID
SITEID int Default = 1 Site ID
COPYSOURCEID uniqueidentifier yes Original ID
COPYBATCHGUID uniqueidentifier yes Copy Batch Guid

Foreign Keys

Foreign Key Field Type Null Notes Description
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
FORMTYPEID uniqueidentifier yes APEXFORMTYPE.ID The form type ID

Indexes

Index Name Fields Unique Primary Clustered
IX_APEXFORM_DATEADDED DATEADDED yes
IX_APEXFORM_DATECHANGED DATECHANGED
PK_APEXFORM ID yes yes

Triggers

Trigger Name Description
TR_APEXFORM_AUDIT_UPDATE
TR_APEXFORM_AUDIT_DELETE

Referenced by

Referenced by Field
APEXFORMCONTENT FORMID
FAFACCOUNTSETTINGSCONTENT FORMID