Select to view content in your preferred language

URL Parameters - Please add support for pan_to_selection for a where search

271
1
08-16-2024 08:50 AM
Status: Open
Labels (1)
JRSchee
Emerging Contributor

Currently, the pan_to_selection=true parameter only works when adding it as a suffix to a URL using the data_s=id type of search (which works for object ids only). Our organization needs the ability to search the Data attribute tables and pan to the match, which requires the data_s=where option.

 

I cannot emphasize enough how difficult it will be for our company's use case if the &find= parameter is retired alongside the Web Mapping Applications and is not re-implemented in the Experience Builder.

1 Comment
Ke_Xu
by Esri Contributor

Hi @JRSchee,

After November 2024 ArcGIS Online, the zoom_to_selection parameter works with all three selection types:

  • selections based on recordID (id)
  • selections based on features' locations relative to other features (geometry)
  • selections based on attributes (where)

Due to limitation, imagery layers only support selecting by id.

Add zoom_to_selection=true to the app URL to zoom all maps to the selection.

Add zoom_to_selection=false to the URL to pan all maps to the selection.

doc is here: https://doc.arcgis.com/en/experience-builder/latest/configure-widgets/map-widget.htm

 

Thanks,

Ke