PAGEMODELITEM

Tracks each CMS artifact created by a Page Model import.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
MODELID uniqueidentifier GUID of the page model spec itself. Different from PageModelID which represents the import instance of the model.
ARTIFACTID uniqueidentifier GUID of this item in the page model spec.
PRIMARYKEY int Default = 0 The integer ID of the CMS item created from this model item.
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.
OBJECTGUID uniqueidentifier yes GUID of the CMS item created from this model item.

Foreign Keys

Foreign Key Field Type Null Notes Description
PAGEMODELID uniqueidentifier yes PAGEMODEL.ID Refers to the ID of the PAGEMODEL parent record that imported (created) this CMS item.
OBJECTTYPEID int ObjectTypes.ID Object type of the this CMS item. See OBJECTTYPES table.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_PAGEMODELITEM_DATEADDED DATEADDED yes
IX_PAGEMODELITEM_DATECHANGED DATECHANGED
IX_PAGEMODELITEM_MODELID MODELID
IX_PAGEMODELITEM_OBJECTGUID OBJECTGUID
PK_PAGEMODELITEM ID yes yes

Triggers

Trigger Name Description
TR_PAGEMODELITEM_AUDIT_UPDATE
TR_PAGEMODELITEM_AUDIT_DELETE