I have a polygon feature layer and a table, both stored in ArcGIS Online. Is it possible to join them on-the-fly in the ArcGIS Server JS API?
For example, here are some sample ArcGIS Server services for:
- a US States polygon layer
- a census values table for each state
Is it possible to join the layer and the table, and therefore to symbolize the polygons using the table's values?
Best Answer
I finally got around to answering this one. This solution uses 2 separate queries to fetch the geometry and attributes, then joins the JSON arrays to form a combined layer definition.