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:

Use dark colors for code blocksCopy
1
https://machine.domain.com/webadaptor/rest/services/Hosted/CV_SimpleSubtype/FeatureServer/0/fieldGroups?f=pjson

JSON Response example

Use dark colors for code blocksCopy
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.