Skip To Content
ArcGIS Developer
Dashboard

Field Groups

Description

The fieldGroups resource returns the set of field groups that have been defined on a layer. Field groups are required for contingent values and identify the set of fields whose values are constrained by values in the other fields within the group. The field groups returned by this resource could be a superset of the field groups that are used by the contingent value definition, as some field groups may not be used in the context of contingent values.

Request parameters

ParameterDetails
f

The response format. The default format is html.

Values: html | json | pjson

Example usage

The following is a sample request URL used to access the fieldGroups resource:

https://machine.domain.com/webadaptor/rest/services/Hosted/CV_SimpleSubtype/FeatureServer/0/fieldGroups?f=pjson

JSON Response example


{
  "fieldGroups": [
    {
      "name": "make_rating",
      "restrictive": true,
      "fields": [
        "vmake",
        "vrating"
      ]
    },
    {
      "name": "make_model2",
      "restrictive": true,
      "fields": [
        "vmake",
        "vmodel"
      ]
    }
  ]
}