Select to view content in your preferred language

Newly added layer shows in Map Viewer but not Experience

743
4
10-16-2024 08:31 AM
JoshGasser
New Contributor

Hello, I have a fairly complicated web app I've been working on in Experience Builder.  It  has multiple pages, and each page references a different version of the same web map, with different data filters (for some layers,, we want to show the full set of features regardless of map instance, and with others, we only want to show data specific to that map).

I used the data tab in Experience Builder to set those filters.  However, I needed to add a layer to an existing FeatureServer (from REST Services Directory).  I updated the underlying ArcGIS Pro project and republished the service.  The new layer appeared just fine in Map Viewer, but the new layer is not showing up in the app itself.

I have looked through each Web Map in the  Data tab, and the new layer is shown there.  I have tried 'hiding' and 'showing' the feature layer from within the Web Maps there , but that has no effect.

JoshGasser_0-1729092175636.png

I have also gone into the Feature Layer settings from there, and turned on Auto Refresh.  I have additionally confirmed there are not any filters set. 

I duplicated one of the pages and created a new instance of the web map in Experience Builder and the layer shows up there.  However, it would be quite a bit of work to recreate all the map instances (three different pages, multiple data filters, widget connections, etc.

Is there something I'm missing the the Data tab?  Is there any way to get the new layer to show up in those existing web map instances?

 

0 Kudos
4 Replies
Ke_Xu
by Esri Contributor
Esri Contributor

Hi @JoshGasser,

Could you share the app for troubleshooting?

 

Thanks,

Ke

 

0 Kudos
JoshGasser
New Contributor

Hi @Ke_Xu,

Thank you for offering to look at it, but you wouldn't be able to see the issue at this point.  I ended up removing the the web maps from the Data tab, adding new instances of them back in, and reconfiguring the data filters as needed.  It was what I was trying to avoid, and it was a little tedious, but not as bad as I thought.  

I was anticipating needing to reconfigure the maps, search, bookmarks, and medium/small layouts, but those all remained intact after reconnecting the map widget to the recreated web map instance.

Thanks,

Josh

0 Kudos
Ke_Xu
by Esri Contributor
Esri Contributor

Hi @JoshGasser

I updated the feature services using the following steps, but I don't see the new layer in the existing web map, so the new layer couldn't be seen in Exb. Could you describe your process in detail so we can reproduce the problem? Thanks.

1. Share a web map named MapA from ArcGIS Pro to AGOL or Portal. 

Ke_Xu_1-1729688114840.png

2. Add a new layer to the exiting map of ArcGIS Pro and then overwrite the existing web layer.

3. Open the MapA in Map Viewer and found that new layer didn't update. 

 

Thanks,

Ke

 

0 Kudos
Ke_Xu
by Esri Contributor
Esri Contributor

Hi @JoshGasser,

I also tried adding a layer item to the app and then overwriting the existing web layer. After refreshing the app, the layer item was updated in the app.

 

Thanks,

Ke

0 Kudos