Skip To Content ArcGIS for Developers Sign In Dashboard

Web Map Specification


Defines how a relationship between feature layers and tables can participate in the form. When present in the form, the user may have the option to add or edit related records.

Referenced by: formGroupElement, formInfo


Property Details
description A string that describes the element in detail.
displayCount An integer that indicates the maximum number of records to display.
displayType A string that defines how the related records should be displayed.
Value of this property must be list
editable A Boolean determining whether users can edit this form element. If not supplied the default value is true.
label A string value indicating what the element represents.
orderByFields Array of orderByFields objects indicating the display order for the related records and whether they should be sorted in ascending 'asc' or descending 'desc' order.
Array of items of the following types:
relationshipId The id of the relationship as defined in the feature layer definition
type String value indicating which type of element to use.
Value of this property must be relationship
visibilityExpression A reference to an Arcade expression that returns a boolean value. When this expression evaluates to true, the element is displayed. When the expression evaluates to false the element is not displayed. If no expression is provided, the default behavior is that the element is displayed.


  "description": "Inspection Reports",
  "displayCount": 3,
  "displayType": "list",
  "editable": true,
  "label": "Inspections",
  "orderByFields": [
      "field": "inspectionDate",
      "order": "desc"
  "relationshipId": 0,
  "type": "relationship",
  "visibilityExpression": "expr0"

Feedback on this topic?