Search Flow Table related to a spatially related layer

This Query uses a Table to reference user inputs. This table is joined via a field in a Map layer, which is then queries another Map layer. A Spatial Relate Search Flow sources data for its results from a spatially related map layer located in the ArcGIS Server catalog. This type of search is the most efficient way to search for features when the attribute information is stored in the layer. If the information you need to search is stored in a separate non-spatial table, use the Related Table Search Flow Query instead.

For example, this type of query allows the administrator to configure a way to select schools within 5km of a selected property. The Search Flow Query returns a property selection and the Spatial Query then selects schools within 5kms of the property selection.

Start configuring the Query, by firstly following these instructions on how to create a query.

Step 01> Choose the Map Service Layer to use for displaying the query results like in the previous workflows.

Step 02> Select A layer spatially related to the search layer.

Step 03> Reference the Layer

Step 04> Choose the Feature Comparator.

Step 05> The Buffer distance is specified here and is in Metres.

Step 06> Now Specify the Database Table and Field that will be used to link to the Map service that will be used to run the spatial query on the search layer.

Step 07> Add the Linking fields together to make the link between the table and the map service.

Step 08> Then apply User Input Types to dictate how the query target joins to the display layer and how the user will interact with the query.

Step 09> Click Save.

See here to see how to make the Query available to users.

Search Flow Web Service