Field Groups

URL:
https://<root>/<serviceName>/FeatureServer/<layerId>/fieldGroups
Methods:
GET
Version Introduced:
11.2

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:

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

JSON Response example

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
  "fieldGroups": [
    {
      "name": "make_rating",
      "restrictive": true,
      "fields": [
        "vmake",
        "vrating"
      ]
    },
    {
      "name": "make_model2",
      "restrictive": true,
      "fields": [
        "vmake",
        "vmodel"
      ]
    }
  ]
}

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