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
string

A string defining the field alias.

any

The value written in for new records by default.

The domain objects if applicable.

boolean

A Boolean defining whether this field is editable.

boolean

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

number

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

string

A string defining the field name.

boolean

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

A string defining the field type.

alias

optional
Interface Property
alias: string

A string defining the field alias.

defaultValue

optional
Interface Property
defaultValue: any

The value written in for new records by default.

domain

optional
Interface Property
domain: IDomain

The domain objects if applicable.

editable

optional
Interface Property
editable: boolean

A Boolean defining whether this field is editable.

exactMatch

optional
Interface Property
exactMatch: boolean

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

length

optional
Interface Property
length: number

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

name

Interface Property
name: string

A string defining the field name.

nullable

optional
Interface Property
nullable: boolean

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

type

Interface Property
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.