CMSTEMPLATELAYOUT

Specifies the layout ID that a template uses for a particular delivery channel.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
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
TEMPLATEID int yes SitePages.ID FK to SITEPAGES
CMSDELIVERYCHANNELID uniqueidentifier yes CMSDELIVERYCHANNEL.ID FK to CMSDELIVERYCHANNEL
SITELAYOUTSID int yes SiteLayouts.ID FK to SITELAYOUTS
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_CMSTEMPLATELAYOUT_DATEADDED DATEADDED yes
IX_CMSTEMPLATELAYOUT_DATECHANGED DATECHANGED
IX_CMSTEMPLATELAYOUT_TEMPLATEID TEMPLATEID
PK_CMSTEMPLATELAYOUT ID yes yes

Triggers

Trigger Name Description
TR_CMSTEMPLATELAYOUT_AUDIT_UPDATE
TR_CMSTEMPLATELAYOUT_AUDIT_DELETE