Select to view content in your preferred language

How to use Actions with a Data Expression to Pan map

144
2
Jump to solution
a week ago
Labels (1)
cjms
by
Occasional Contributor

I am using a Data Expression in ArcGIS dashboard. It returns a Feature Set and is displaying properly in my List widget. How can I configure the Actions so that my Map widget will Pan / Zoom / Flash when a user clicks on an item in the List Widget that is using the Data Expression?

The Map widget is a web map that has similar data and includes the same ID column from my data expression. I can successfully use the Action --> Filter option since it allows me to select a Source and Target, but for the Pan / Zoom / Flash I can only select a the Map, no option to specify a source and target. So of course, turning those options on does nothing for the Map.

0 Kudos
1 Solution

Accepted Solutions
cjms
by
Occasional Contributor

Answering my own question

My data expression was only returning the rows for efficiency. Adding the geometry to the Feature Set enabled the map actions to work as expected. 

I guess this only works if the data expression is created from a feature class that has XY. No idea how you would get this to work if the data expression came from a table without xy.

View solution in original post

2 Replies
dribrats
Occasional Contributor

I believe the data source has to be a layer on the map, and since you can't (yet) add data expressions to a map, you might be out of luck. Really looking forward to being able to add data expressions to maps as it would unlock quite a lot of powerful functionality.

0 Kudos
cjms
by
Occasional Contributor

Answering my own question

My data expression was only returning the rows for efficiency. Adding the geometry to the Feature Set enabled the map actions to work as expected. 

I guess this only works if the data expression is created from a feature class that has XY. No idea how you would get this to work if the data expression came from a table without xy.