Limit Domain Values using SOI

88
1
11-24-2020 06:04 AM
Labels (1)
New Contributor II

I'm wondering if it's possible to limit domain values for a particular field based on another fields value using an SOI?  I will be creating a service per state. Based on the state (which would be setup as a property to the service for the particular state), I want my Mobile and Web App Builder users to have a dropdown that ONLY shows the sayyyy counties in the state/service. So this would need to do a subset of coded values.  Possible?

Reply
0 Kudos
1 Reply
MVP Frequent Contributor

You can see the request of client and return json filtered.

Example if client asks with  https://sampleserver6.arcgisonline.com/arcgis/rest/services/NapervilleShelters/MapServer/0?f=json in this json there are info of domain values so then client use it. In soi you intercept these called and manage value of domains. However the client can make called https://developers.arcgis.com/rest/services-reference/query-domains-feature-service-.htm  to efficiently work with domains when use feature service (10.5 or superior) so you need see this too.

Reply
0 Kudos