Dashboard List Actions (Pan, Zoom, and Flash) Not Working Properly

530
2
Jump to solution
09-03-2021 11:28 AM
BriannaDavison
New Contributor II

Hi!

My Dashboard has two lists. Both lists filter data from two different layers in the same AGOL map. I configured the pan, zoom, and flash actions for both lists. For one list, I added a details element with a filter action. For the list that has actions for the map and details element, the list does not pan, zoom, or flash on the map. It does filter the details element. The other list works perfectly fine and the actions function properly. 

Things I tried:

- I tried creating a new list

- Removing the other list

- Removing the actions from the other list

- Changing the layer source of the list

- Turn on/off the layers visibility 

 

Anyone else encountered this problem? Any solutions? 

 

Thank you!

1 Solution

Accepted Solutions
jcarlson
MVP Notable Contributor

The most common reason for this tends to be that the layer is being added from a MapService, as opposed to a FeatureService, and spatial functions don't work the same with those.

If that's the case, you can get around this by adding the individual layers from their service URL, complete with the layer index, i.e., /server/rest/services/some-folder/your-service/MapServer/0

Doing so, of course, prevents you from being able to access any custom symbology applied to the MapServer, but will treat the data the way you are expecting.

- Josh Carlson
Kendall County GIS

View solution in original post

2 Replies
jcarlson
MVP Notable Contributor

The most common reason for this tends to be that the layer is being added from a MapService, as opposed to a FeatureService, and spatial functions don't work the same with those.

If that's the case, you can get around this by adding the individual layers from their service URL, complete with the layer index, i.e., /server/rest/services/some-folder/your-service/MapServer/0

Doing so, of course, prevents you from being able to access any custom symbology applied to the MapServer, but will treat the data the way you are expecting.

- Josh Carlson
Kendall County GIS
MichaelSnook
Occasional Contributor III

Running into this same issue but this was not the case previously.  Before I simply added a map (containing a map-image service) and was able to operate on the individual layers just fine -- clicking on a list item would successfully zoom to a feature in the map (from which the list was built in the first place).  Now, when I click a list item/feature, the map just goes blank.  

This seems like a flaw as the dashboard should be able to traverse to the correct map layer that the list was built upon...it really shouldn't matter if it's a standalone featurelayer or not.   It seems rather tedious to split up our on-premises Server Mapservice layers into separate featurelayers in AGO to accomplish this.  What's the point of adding a map to the dashboard then?  Just some thoughts.

Thanks.

0 Kudos