Select to view content in your preferred language

Infowindow - show table of results

3289
2
Jump to solution
06-19-2015 09:17 AM
LauraMiles1
Frequent Contributor

Hi all, I'm working with the ESRI search widget, and I have a query layer that has a 1:M relationship (one polygon, multiple records). I would like for the InfoWindow to pop up showing a table of all the results for the polygon which has been searched on and selected - how to do this? Currently I have it set up so that the user can search on the polygon's name. In the query layer's attribute table, it can be seen that each polygon name is multiplied by the number of records in the table that it is joined to. I'm also getting multiple polygon names in the search suggestions, which I'd like to eliminate but I'm not sure if this can be controlled.

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
KenBuja
MVP Esteemed Contributor

There are a couple of ways of doing that.

QueryTask with query geometry from another task

Identify Sample

In some of my applications, I put the results of an IdentifyTask in a dGrid.

View solution in original post

2 Replies
KenBuja
MVP Esteemed Contributor

There are a couple of ways of doing that.

QueryTask with query geometry from another task

Identify Sample

In some of my applications, I put the results of an IdentifyTask in a dGrid.

LauraMiles1
Frequent Contributor

Very helpful - thank you Ken!

0 Kudos