I need to display a hosted feature layer's attribute table in an Open Data site (ArcGIS Hub). Can someone please tell me the best way to do this?
To explain, we have an open data site that displays a road closures map, and beneath the map, we want to display a list of the road closures that are shown on the map -- hence, the need to display the hosted feature layer's attribute table.
Here's the site, so far: http://roadclosures-sonomamap.opendata.arcgis.com/
I have tried using the FeatureTable dijit (Javascript from the ArcGIS API for Javascript) ...
Here's what I have discovered so far:
Any further input would be greatly appreciated ... Thank you!
Lee
Hi Lee!
Would it be feasible to add the Attribute Table widget to your web app? You should be able to configure the widget to open automatically when the app opens. I put together a quick test app and threw it into my own test Hub site -- here's what it looks like:
Here's the button I clicked to get the attribute table to open automatically in Web AppBuilder:
Hope this helps!
- Sydney
Thanks for the reply, Sydney. Yep - I love that widget! We use it in most of our web apps.
... Unfortunately though, our Web Team has deemed that it is not ADA compliant, whereas the table produced using the Javascript API is. Also, embedding an attribute table directly on a web page offers a qualitatively different user experience than having it in a web application. In this situation, we really do need to embed the table.