For an arcgis online feature layer, suggest a method or more, to directly open a…
- User
For an arcgis online feature layer, suggest a method or more, to directly open a hyperlink that selects one feature with url parameters. For example using feature layer https://www.arcgis.com/home/item.html?id=ac80670eb213440ea5899bbf92a04998 to select feature with field "ISO_CC" with value "USA"
Assistant
You can use URL parameters with the ArcGIS Online Map Viewer to open a feature layer and select a specific feature. Here's how to do it for your example:
https://www.arcgis.com/home/webmap/viewer.html?layers=ac80670eb213440ea5899bbf92a04998&find=USA&findField=ISO_CCThis URL will:
- Open the Map Viewer
- Load your feature layer (using the item ID)
- Find and select the feature where ISO_CC equals "USA"
For more complex selections, you could also use the
searchExtentparameter to zoom to a specific area, or create a custom web application using the ArcGIS API for JavaScript that handles more sophisticated selection logic.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.