Select to view content in your preferred language

can't zoom to selected feature

252
1
06-01-2023 02:36 PM
johnbrosowsky
Occasional Contributor II

I have a table widget showing attributes of a hosted feature layer called layer_1. One of the fields in layer_1 is called layer_2_oid. When I click on a row in the layer_1 table, I would like the map to zoom to the feature in layer_2 based on objectid.

On the table widget for layer_1, I can set action/triggers to select and/or filter layer_2 based on objectID no problem, but for the life of me I can't figure out how to get the map to zoom to the selected and/or filtered feature in layer_2. That is not one of action/trigger options for the layer_1 table widget.

Any ideas?

Thanks!

JB

 

0 Kudos
1 Reply
TonghuiMing
Esri Regular Contributor

@johnbrosowsky, do you have a reproducible app that can share with us? Thanks.

0 Kudos