relatedRecordsInfo

The sort in the popupInfo for the parent feature. This impacts the sorting order for the returned child records.

Referenced by: popupInfo

Properties

Property Details
orderByFields[] Array of orderByField objects indicating the field display order for the related records and whether they should be sorted in ascending asc or descending desc order.
showRelatedRecords Required boolean value indicating whether to display related records. If true, client should let the user navigate to the related records. Defaults to true if the layer participates in a relationship AND the related layer/table has already been added to the scene (either as an operationalLayer or as a table).

relatedRecordsInfo Example

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

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