ArcGIS Developers
Dashboard

Web Map Specification

orderByFields

Object indicating the field display order for the related records and whether they should be sorted in ascending or descending order.

Referenced by: formRelationshipElement, relatedRecordsInfo

Properties

Property Details
field The attribute value of the field selected that will drive the sorting of related records.
order Set the ascending or descending sort order of the returned related records.
Valid values:
  • asc
  • desc

orderByFields Example

{
  "orderByFields": [
    {
      "field": "relationships/0/FieldName",
      "order": "asc"
    }
  ]
}

Feedback on this topic?