Skip to content

Special Fieldnames

CMS Builder has a number of reserved “special” fieldnames that provide enhanced functionality. These fieldnames may override standard field configurations and operate as described below.

FieldnameUser EditableField TypeDescription
numNoNoneThe auto-increment primary key that uniquely identifies each record. Every section is created with this field, so you never need to add it yourself.
idNoNoneAlternate name for the auto-increment primary key, for tables that use id instead of num.
createdDateNoNoneAutomatically stores the date the record was first created.
createdByUserNumNoNoneAutomatically stores the num of the user who created the record. This value is also used to identify the “owner” of the record.
updatedDateNoNoneAutomatically stores the date the record was last updated.
updatedByUserNumNoNoneAutomatically stores the num of the user who last updated the record.
publishDateYesDateRecord won’t be displayed on the website before this date. This allows users to prepare content in advance and have it appear on a certain date and time.
removeDateYesDateRecord won’t be displayed on the website after this date. This allows users to have content automatically “expire” from the website after a certain date and time.
neverRemoveYesCheckboxThis checkbox field indicates that removeDate should be ignored. This lets users have some records that expire (are hidden) after a certain date and other records that never expire.
hiddenYesCheckboxThis checkbox field indicates that the record should not be displayed on the website. This lets users temporarily make records visible or not.
dragSortOrderYesNoneThis field allows the user to drag records in the record list to change their order. Just create this field and add it to the beginning of “List Columns” and “Order By” to enable this functionality.

Category sections also maintain a siblingOrder field automatically to track the sort order of records under the same parent. It’s created for you and doesn’t need to be added.

To use one of these reserved fields, go to CMS Setup > Database Editor, locate the section you want and click its modify link. Create a new field using one of the names and corresponding types from the table above. The field will automatically function as described.

Documents CMS Builder 3.83