Interface
Contains information about an attribute field.
IField can also be imported from the following packages:
import { IField } from "@esri/arcgis-rest-feature-service";Properties
| Property | Type | Notes |
|---|---|---|
alias | string | A string defining the field alias. |
defaultValue | any | The value written in for new records by default. |
domain | IDomain | The domain objects if applicable. |
editable | boolean | A Boolean defining whether this field is editable. |
exactMatch | boolean | A Boolean defining whether or not the field is an exact match. |
length | number | A number defining how many characters are allowed in a string. field. |
name | string | A string defining the field name. |
nullable | boolean | A Boolean defining whether this field can have a null value. |
type | FieldType | A string defining the field type. |
defaultValue
defaultValue: anyThe value written in for new records by default.
domain
domain: IDomainThe domain objects if applicable.
editable
editable: booleanA Boolean defining whether this field is editable.
exactMatch
exactMatch: booleanA Boolean defining whether or not the field is an exact match.
length
length: numberA number defining how many characters are allowed in a string. field.
nullable
nullable: booleanA Boolean defining whether this field can have a null value.
type
Interface Propertytype: FieldTypeA string defining the field type.