Select to view content in your preferred language

Issue adding multiple view only utility network based services to Map Viewer

219
3
Thursday
Joshua-Young
MVP Regular Contributor

I have feature services for a water, sewer, and stormwater utility network that are setup for viewing only. No topology or utility network are included with the published data, so no editing or tracing is available or enabled.

I have tried to add all three to Map Viewer in ArcGIS Enterprise 11.5 and all three are added to the map just fine. When I go to save the map I get an error "The layer, <MAPNAMEHERE>, cannot be added to the map". If I remove any of the services, the map will save. I have tried every combination and as long as there are only two of the services in the map the map will save. If I pick one of the services and remove enough of the sublayers eventually the map will save. I have tried removing sublayers from different directions, saving along the way and it will eventually save after a certain number and not a specific sublayer.

Is this a limitation of Map Viewer that only so many sublayers are allowed to be saved in a web map? We migrated to the utility networks using the latest expanded versions of each kind we use. So there are a lot of subtypes. We are not using all of them so I am going to remove the ones we are not using and republish the viewing services for our utility network. Hopefully that fixes the problem.

"Not all those who wander are lost" ~ Tolkien
0 Kudos
3 Replies
RobertKrisher
Esri Regular Contributor

I don't immediately know the answer to this one, please log a case with support.

0 Kudos
PierreloupDucroix
MVP Regular Contributor

Hello,
We encountered a similar problem when sharing a webmap from Pro to Portal with many subtypes. Using subtypes significantly increases the size of the map's JSON, and in our case, the error was related to the upload size limit of the Nginx reverse proxy placed in front of our server. I don't know if saving a web map from the map viewer works the same way, but it might be worth investigating.

CEO of MAGIS
0 Kudos
Joshua-Young
MVP Regular Contributor

I republished my viewing services for our utility networks after removing any asset groups or asset types that we are not using at this time. Now I can remove the old utility services, add the new utility network viewing services, and the map will now save in Map Viewer.

@PierreloupDucroix  We are using Microsoft IIS web adaptors, but it seems I am hitting a max upload size somewhere when saving the web map. However, I am not seeing anything in the server logs about a limit being exceeded.

@RobertKrisher  I think my workaround will be sufficient for the time being. As we expand into collecting new asset types available in the utility networks, I will open a support ticket.

"Not all those who wander are lost" ~ Tolkien
0 Kudos