field

Contains information about an attribute field.

Properties

Property Details
alias A string defining the field alias.
domain The domain objects if applicable.
editable A Boolean defining whether this field is editable.
exactMatch A Boolean defining whether or not the field is an exact match.
length A number defining how many characters are allowed in a string field.
name A string defining the field name.
nullable A Boolean defining whether this field can have a null value.
type A string defining the field type.
If property is present, must be one of the following values:
  • esriFieldTypeBlob
  • esriFieldTypeDate
  • esriFieldTypeDouble
  • esriFieldTypeGeometry
  • esriFieldTypeGlobalID
  • esriFieldTypeGUID
  • esriFieldTypeInteger
  • esriFieldTypeOID
  • esriFieldTypeRaster
  • esriFieldTypeSingle
  • esriFieldTypeSmallInteger
  • esriFieldTypeString
  • esriFieldTypeXML

Example

{
  "field": {
    "alias": "Postcode",
    "name": "relationships/2/Postcode",
    "editable": false,
    "type": "esriFieldTypeString"
  }
}

Feedback on this topic?