In Geovonic Connect, searches allow widget user to search based on value from your third-party business systems, link the returned value to features to display the selected features on map and the results retrieved from the relevant layer links in the widget.
For example, you want to search for properties that meet certain criteria, such as property type and price. The matched features will be selected on map and display the results. At this time, it only supports SQL Database Query data source. However, support for additional data sources is planned for future updates.
The search can be configured in the Geovonic Connect admin dashboard and then becomes available for users of the widget in the ArcGIS web map application.
Searches Configuration
When adding a Search, you must first search for a feature layer in your ArcGIS content. Select the layer that you want to link with the search and click Next.
- Give the search a Name, then select the sub-layer and the data source (this dropdown will list all available database you’ve configured in the data sources menu, only supports SQL database Query).
- Additional sections will be displayed once you’ve configured the above.
- Add input field(s) to add a new parameter if needed. You can skip this and proceed to next step if it’s not required.For each field, specify the field’s Name which is the label to identify the field, field’s Type of input currently only supports text and single date. The Sample field is where you can test the data for that particular field.
(You may add as many input fields as you required) - Defines the SQL query to determine the data returned based on the above input fields. Use the [+] button to include the input fields from previous section. For example:
- Add input field(s) to add a new parameter if needed. You can skip this and proceed to next step if it’s not required.For each field, specify the field’s Name which is the label to identify the field, field’s Type of input currently only supports text and single date. The Sample field is where you can test the data for that particular field.
SELECT column_name FROM your_table WHERE column_name = {{input_field}}
-
- Each input field can be linked to a specific map attribute, allowing the search results to be associated with spatial data. Click the Refresh fields… to get the Value populated based on the columns defined in the SQL query. Then map the layer’s Attribute to specific Value from your database.
Once the Search has been defined, hit Save. This will immediately be available and used in the Geovonic Connect widget in your ArcGIS web mapping application.