Disable Filter By Extent in Web AppBuilder Infographic Widget

2388
3
08-10-2017 01:17 PM
Status: Open
JackCibor
Occasional Contributor II

I would like to be able to uncheck the Filter By Extent box that is greyed out in the Infographic Widget configuration. I want my users to be able to filter based on an attribute and have the info graphic update for that filtered value, even if some of the points happen to be out of the current extent. This box unchecks itself if you load an extra data source into the InfoGraphic instead of a map layer. However, this is not a work around for me because the filter widget does not support filtering of extra data sources. 

3 Comments
deleted-user-qzyyiYme1rz9

I just found a workaround for this. Per the help documentation, layers from the map loaded in "on-demand mode" can't have the Filter by Extent option enabled.

My workaround was to go to the web map that the app was using and copy the layer that the infographic was using. On the copied layer I disabled pop-ups and editing so you can't really notice that there is a duplicate layer. Then in Web Appbuilder I changed the data source to the copied layer, and I could now un-check the box for Filter by extent. I hope this works for you. 

Oh, and of course, add this the copied layer into your group filter widget if that is the widget you are using to filter by attributes.

by Anonymous User

I'm not sure how this works. I don't see the same results you describe.
Are all "webmap" layers always loaded by a Web AppBuilder app in "on-demand" mode? Is there anyway to force "snapshot" mode?
I always see the "Filter by extent" option checked but greyed-out and disabled. I've tried changing the "filterByExtent" setting to "false" in the config file (using Dev edition WAB), but this has no effect. I'm assuming this is due to the "on-demand" versus "snapshot" behavior you referenced above.

The goal is to have a straightforward donut/pie chart (such as used in the Infographic widget) that represents values in the entire featurelayer/dataset, without a "live-link" to the map extent display. Perhaps there is a simpler option available?

EthanVodra

Andrew Murdoch‌ Did you ever resolve this? I'm suddenly having the same issue for no apparent reason.