IField

Interface

Contains information about an attribute field.

IField can also be imported from the following packages:

Use dark colors for code blocksCopy
 
1
import { IField } from "@esri/arcgis-rest-feature-service";

Properties

PropertyTypeNotes
alias
 optional 
string

A string defining the field alias.

defaultValue
 optional 
any

The value written in for new records by default.

domain
 optional 

The domain objects if applicable.

editable
 optional 
boolean

A Boolean defining whether this field is editable.

exactMatch
 optional 
boolean

A Boolean defining whether or not the field is an exact match.

length
 optional 
number

A number defining how many characters are allowed in a string. field.

string

A string defining the field name.

nullable
 optional 
boolean

A Boolean defining whether this field can have a null value.

A string defining the field type.

alias optional

alias: string

A string defining the field alias.

defaultValue optional

defaultValue: any

The value written in for new records by default.

domain optional

domain: IDomain

The domain objects if applicable.

editable optional

editable: boolean

A Boolean defining whether this field is editable.

exactMatch optional

exactMatch: boolean

A Boolean defining whether or not the field is an exact match.

length optional

length: number

A number defining how many characters are allowed in a string. field.

name

name: string

A string defining the field name.

nullable optional

nullable: boolean

A Boolean defining whether this field can have a null value.

type

type: FieldType

A string defining the field type.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.