Select to view content in your preferred language

Contigent Domains REST SDK access

615
4
Jump to solution
10-21-2021 03:16 PM
JamesWright9
Occasional Contributor

How might someone via the REST SDK get access to the restrictions defined within a Contingent domain? I am not seeing anywhere in the feature service REST sdk where this information is published.

0 Kudos
1 Solution

Accepted Solutions
JamesWright9
Occasional Contributor

Never mind, the contingent domains are not under the QueryDataElements but a new endpoint queryContingentValues

View solution in original post

0 Kudos
4 Replies
MikeMillerGIS
Esri Frequent Contributor

You have to make a call to QueryDataElement.  This will return the CAV information.  

JamesWright9
Occasional Contributor

Hey Mike,

Awesome thank you!

0 Kudos
JamesWright9
Occasional Contributor

Well that doesn't seem to contain the information. In our example we setup a bunch of field groups for the contingent domains and doing the QueryDataElements does bring them up, but none of the values are listed.

 

Here is all the information we get about the field group:

"fieldGroups": [
     {
      "name": "Low Side Voltage",
      "fieldNames": {
       "names": [
        "ASSETTYPE",
        "low_side_voltage"
       ]
      },
      "isEditingRestrictive": true
     }
    ]

 There should be a list of the 8 values we restricted that group to. Are they listed somewhere else?

0 Kudos
JamesWright9
Occasional Contributor

Never mind, the contingent domains are not under the QueryDataElements but a new endpoint queryContingentValues

0 Kudos