Appearance
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
| Name | Description |
|---|---|
SysDictionary() |
Properties
| Name | Description |
|---|---|
Active | Indicates whether the field is active. |
ColumnLabel | The user-visible label for the column. |
DefaultValue | The default value assigned to the field. |
Display | Indicates whether the field is the display field for the table. |
Element | The internal name of the column/field. |
InternalType | A reference to the internal data type definition. |
Mandatory | Indicates whether the field is mandatory (non-nullable). |
MaxLength | The maximum length allowed for the field, in characters. |
ReadOnly | Indicates whether the field is read-only. |
SysId | The unique system identifier (GUID) for the object. |
TableName | The table name |
Methods
| Name | Description |
|---|---|
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) |