I'm working in ArcGIS Enterprise 11.2 and trying to streamline my Experience Builder project. I want to use the same web map across multiple pages, but apply a unique filter to it on each page. Right now, I'm creating duplicate maps in Map Viewer with different filters already applied, which is clunky.
Ideally, I'd like to use a single map and just change its filter dynamically within Experience Builder. I see that I can link data views to widgets like lists, but this doesn't seem possible with maps. Am I missing something?
I'm hoping there's a better way to accomplish this. Maybe it's a feature in a newer version of Enterprise? Or perhaps someone has a clever workaround they can share? Any help would be greatly appreciated!
You can add the same map multiple times as a data source rather than duplicating the actual web map. This makes it so you can have different map widgets with different themes, but you don't need to maintain several web maps. For each map, you can turn off whatever layers you don't want present in that map or filter the layers however you want.
For example, I have two data sources in this app which are actually the same web map, just renamed for each theme in my app:
In the data sources, I've turned off the stuff I don't want to see in that data source, but they remain available in the other source:
For a given layer in a data source, here's where you can filter the features:
(Note that once you filter the features "globally" like this for the layer, the data views you can create for the layer (if you need them) are also filtered.)
Also, I recommend doing all this after your web map is finished. If you have all these different data sources configured from the same web map and then add a new layer to that web map, and perhaps you only want that layer to be visible in one of your data sources, you're going to need to make it invisible in all your other data sources. Not a big deal if you have like 3 data sources and add 1 layer one time, but if you have 10+ data sources and go through several rounds of adding 1 layer at a time, it adds up. (An alternative to this might just be turning off all the layers in your web map, then only turning on what you want in each data source in Experience Builder, but I haven't tested that.)