Limit Domain Values using SOI

678
1
11-24-2020 06:04 AM
Labels(1)
KarenRobine1
New Contributor III

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?

0Kudos
1 Reply
nicogis
by MVP频繁的贡献者
MVP频繁的贡献者

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

Example if client asks withhttps://sampleserver6.arcgisonline.com/arcgis/rest/services/NapervilleShelters/MapServer/0?f=jsonin 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 calledhttps://developers.arcgis.com/rest/services-reference/query-domains-feature-service-.htmto efficiently work with domains when use feature service (10.5 or superior) so you need see this too.

0Kudos