Using URL Parameters for an Experience Builder app, the goal is to create links to zoom to specific features that will be selected in a Filter widget, and to control the zoom level and center position of the map. I have successfully built the URL and both functions (filter widget & map position) function independently, but when combined into one URL, the map zooms to the URL-specified extent, then re-zooms to the filtered feature.
Is there a way to force the app to use the center & level parameters of the URL rather than automatically zoom to the filtered feature? I do have the 'Zoom to' action configured for the Filter widget, but am hopeful this doesn't have to be turned off in the event that a user wants to make a new selection with the Filter widget.
Sample of the URL:
https://experience.arcgis.com/experience/<AppID>#widget_2=center:-8283456.60180332%2C4941522.4949009%2C102100,level:17&widget_31=filters:%5B%7B%22name%22%3A%22Filters%22%2C%22clauses%22%3A%5B%7B%22index%22%3A3%2C%22values%22%3A%22<FeatureToFilter>%22%7D%5D%7D%5D
What happens if you take the centering/zoom level out of your URL Parameters? I think that should be closer to what you want.
The Filter widget does select the appropriate feature, and the map zooms to the feature extent as if I made a selection using the Filter widget itself, but in my use-case I want to be able to define the zoom level and center position of the map to provide users with a little more context to surrounding features to help orient themselves. I know the Zoom level can be customized in the 'Zoom to' actions menu, but I'd like to be able to control that on a feature-by-feature basis.
Have you trying re-ordering your parameters? List the filtering first, then the zoom level. Does that work?
I gave that a try, same results. Good suggestion though.