IField

Interface

Contains information about an attribute field.

IField can also be imported from the following packages:

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.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close