Skip to main content

51 docs tagged with "column"

View all tags

BooleanColumn

Defines a true/false column rendered as a checkbox on forms. Use defaultValue to set the initial checked state when a new record is created.

ChoiceColumn

Defines a column that restricts input to a predefined set of options rendered as a dropdown, radio buttons, or other selection widget. Use choices to declare the allowed values and defaultValue to set the initial selection.

DateTimeColumn

Defines a column that stores a combined date and time value, rendered with a calendar picker on forms. Use this for fields like due dates, scheduled start times, or any timestamp the user needs to set.

FloatColumn

A Column for a floating-point number type field.

GenericColumn

Escape hatch for any column type not defined elsewhere

GuidColumn

A Column for a GUID (Globally Unique Identifier) type field.

ReferenceColumn

Defines a reference (foreign key) column that links a record to a row in another table. Use referenceTable to specify the target table and cascadeRule to control what happens to referencing records when the target is deleted.

StringColumn

Defines a text column on a table for storing variable-length string values such as names, descriptions, and labels. Use maxLength to control the field size and choices to restrict input to a predefined set of text values.

Table

Defines a database table (sysdbobject) in a scoped application with typed column schemas, auto-numbering, access controls, and table inheritance.

Tables, Columns, and Relationships Guide

Guide for creating ServiceNow Tables (sysdbobject), Columns (sysdictionary), and Relationships (sysrelationship) to define data models. Use when the user mentions tables, columns, fields, schema, extending tables, relationships, related lists, or data modeling.