PARTICIPANTWIDGET

Widgets available for Participant

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
WIDGETID int FK to WIDGETGALLERY
DISPLAYTEXT nvarchar(4000) Default = '' Display Text
ISACTIVE bit Default = 0 Participant can Enable or Disable Widget
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.

Foreign Keys

Foreign Key Field Type Null Notes Description
REGISTRANTID uniqueidentifier REGISTRANT.ID FK to REGISTRANT
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_PARTICIPANTWIDGET_DATEADDED DATEADDED yes
IX_PARTICIPANTWIDGET_DATECHANGED DATECHANGED
PK_PARTICIPANTWIDGET ID yes yes
UIX_PARTICIPANTWIDGET_WIDGETID_REGISTRANTID WIDGETID, REGISTRANTID yes

Triggers

Trigger Name Description
TR_PARTICIPANTWIDGET_AUDIT_UPDATE
TR_PARTICIPANTWIDGET_AUDIT_DELETE

Referenced by

Referenced by Field
WIDGETEXTENSION PARTICIPANTWIDGETID