Skip to content

SysDictionary Class ​

Definition ​

Represents a dictionary (column definition) entry in the ServiceNow data dictionary. Includes metadata such as label, type, default value, and display characteristics.

  • Namespace: JASE.ServiceNow
  • Assembly: JASE.ServiceNow.dll

Constructors ​

NameDescription
SysDictionary()

Properties ​

NameDescription
ActiveIndicates whether the field is active.
ColumnLabelThe user-visible label for the column.
DefaultValueThe default value assigned to the field.
DisplayIndicates whether the field is the display field for the table.
ElementThe internal name of the column/field.
InternalTypeA reference to the internal data type definition.
MandatoryIndicates whether the field is mandatory (non-nullable).
MaxLengthThe maximum length allowed for the field, in characters.
ReadOnlyIndicates whether the field is read-only.
SysIdThe unique system identifier (GUID) for the object.
TableNameThe table name

Methods ​

NameDescription
List<SysChoice> GetChoices(string tableName, ConnectionContext context = null)Resolves the options for a Choice field
Task<List<SysChoice>> GetChoicesAsync(string tableName, ConnectionContext context = null)Resolves the options for a Choice field
string GetDatabaseName()
bool SetDatabaseName(string name)