Select to view content in your preferred language

Standalone table not appearing in new map viewer, only map viewer classic

767
5
04-04-2024 01:00 PM
AllenDailey1
Frequent Contributor

I shared a feature class and a file geodatabase table to my Enterprise Portal as a web layer.  I need to have both the feature class and the table in a web map.  When I make a map with the new Map Viewer, the table is nowhere to be found.  But when I use Map Viewer Classic, the table is in the map, just like I need.  But I need to use the new Map Viewer because Map Viewer Classic is of course obsolete.

I did confirm that both the feature class and the standalone table are listed in the map service's REST endpoint.

There's no editing involved - no versioning, no feature service, etc.

I am the owner of the web layer / service.  And I am working on the web maps as myself, the same account that is the owner.

I'm using ArcGIS Pro 3.0.3

Enterprise 10.9.1 build 28388

My organization cannot upgrade to Enterprise 11 yet.  In fact, the work I am trying to do with this web layer is part of our work to get all our map services running from Pro, as part of our preparation for upgrading.  So I have to get this work done before we can upgrade.

I did see something on Esri Community from 2 years ago about related tables not showing up in the new map viewer, like Esri hadn't built this functionality yet.  I don't know if this is related.

A crazy thing is that on another Enterprise Portal we have (the Dev one), an essentially identical web layer with a table DOES show up in the new map viewer.  That Portal has the exact same version and build as the one I'm having the problem with (which is our Production portal), and the services have the same settings.  I don't see how the new map viewer could be acting differently in the two Portals, but it is.

Does anyone know how to get the table to show up in Map Viewer?  Is it a bug?

0 Kudos
5 Replies
BrettLawson1
Emerging Contributor

I'm seeing the exact same issue with ArcGIS Pro 3.2.2 and Enterprise 11.0.  Would be interested in the solutions as well.

EDIT:  When I open the web map in ArcGIS Pro, the table is there.  It just does not show up under the table tab in the browser view of the web map.  I suspect that maybe that tab only shows hosted tables show up there.  Still would be interested in how you could see a non hosted table in the new map viewer.

AllenDailey1
Frequent Contributor

Thanks for your post!

I was able to use a workaround to see a non-hosted table in the new map viewer - I added an item in Portal and used the map service's URL, such that this item consisted only of the table, not the full map service with both the layer and the table.  That is, I used the URL that included the layer ID for only the table, e.g. ....MapServer/1

Then I brought this "item" into my web map in new map viewer, and I could see the table.  This means that my web map includes both the whole service a.k.a. web layer as well as just the table from that same service, so it's kind of referencing the same service twice.

This workaround is not ideal, so I still hope to hear from Esri on this subject.

PLadd
by
Frequent Contributor

Same issue as those above but found another workaround. 

I'm using ArcGIS Pro 3.2.1 and Enterprise 11.3.  I added related tables into Pro, configured popup window for one of the related tables, and published new dynamic map service to ArcGIS Enterprise 11.3.  In Overview window in Portal and in ArcGIS REST Services Directory, the tables, which are registered with the enterprise geodatase, are part of the map service.  But if I open them in a portal Map Viewer (not Classic), only the parcel layer is added.  If I create an Experience Builder of the Web Map, again, only the parcel layer is added (this last part makes sense).

One solution I found is to publish the Pro map as a hosted service.  When I open the hosted service in a portal Map Viewer, the tables are automatically included.  If I then create an Experience Builder app from this Map Viewer web map, the tables are still there and the configured popup properties of the related table created in Pro are respected in Experience Builder. 

Downside is that a hosted service copies all of the data to the map service, which is not the best situation considering I’m using SQL Server and ArcGIS Data Stores.  Also, the data in the related tables is updated nightly and those changes won't show in the web map or app until I republish the hosted service.

(So many compromises, so little time.)

0 Kudos
MetralAlexis
Regular Contributor

I've the exact same issue, I can't believe it. Using ArcGIS Pro 3.3 and ArcGIS Enterprise 11.3. The data is from SQL EGDB and it works perfectly with Map Viewer Classic but not the new Map Viewer.

The only way to add the tables in my map is to use the Add Layer from URL option but it's still not recognized as a related table, part of the underlying relationship.

I can't use Map Viewer Classis. I'll have to reconfigure my mapping service, republish it and then try to somehow summarize the data in the popup of the related feature. It's not ideal and won't be as good as the usual related records option.

What a pain. Thanks ESRI to keep publishing new tools and pushing everyone to upgrade while it's not 100% functional yet.

0 Kudos
MetralAlexis
Regular Contributor

Working on it. Using a Feature Service instead of a Map Service brings the related tables and it's possible to add the related records in the Popup. However, it's not practical at all, you can see the related records one by one only and there is no "Show related records" option to automatically open the related table filtered with the related records of the selected feature.  

They mentioned in that ESRI blog from 2022 that was one of the "What's next?" features but it has apparently not been implemented yet. 

I saw that was possible to return a related table in HTML directly in the popup but it's way to much work for what we need so we will stick to the classic Map Viewer.

0 Kudos