Select to view content in your preferred language

Related table in AGOL MapViewer

497
15
Jump to solution
a week ago
doronwen
Frequent Contributor

*** Not sure if this is a known issue or not, but please reroute if needed.

I’ve created a feature layer with a one-to-many relationship to a table in ArcPro (GDB) and moved it to ArcGIS Online using this method. And it worked. In ArcGIS Online, under the hosted feature layer Data > Fields tab, I see the related table I created. I can also see the hosted feature layer and the related table in Map Viewer.

doronwen_0-1736794523342.png

 

But it appears that Map Viewer does not detect the relationship between the hosted feature layer and the table. A user posted this blog which seemed to work in the past, but not anymore – the related table does not show up under the Forms tab.

It would be great to see Map Viewer work seamlessly with related tables, especially with one-to-many relationships and multiple tables. 

0 Kudos
15 Replies
Laura
by MVP Regular Contributor
MVP Regular Contributor

Yes, you do want editing enabled. 

So when you click "add content" under the popup this doesn't show?

Laura_0-1736806662857.png

You'll have to click your table under relationship after you click related records here. 

Laura_1-1736807233250.png

 

Have you tried using a different browser? Clearing cache?

https://support.esri.com/en-us/knowledge-base/how-to-see-the-properties-of-a-relationship-for-a-laye...

0 Kudos
doronwen
Frequent Contributor

@Laura I cleared cache and tried different browser. The related table is still missing from the Form Builder.
I checked the feature class, the table and the relationship class in ArcPro and I don't see anything wrong with it.

0 Kudos
Laura
by MVP Regular Contributor
MVP Regular Contributor

Just to confirm - this is agol and not portal? This is not a workflow yet in Portal 11.1

agol - make sure it is a hosted service.

I believe Server services are not supported for this functionality. 

https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/rolling-out-related-records-in-map-v...

0 Kudos
doronwen
Frequent Contributor

@Laura Yes, I'm using portal. I believe we're still on 11.1 
So is that the reason I do not see the related tables in Map Viewer? Do you know when (or if) it will be available in portal? 

0 Kudos
Laura
by MVP Regular Contributor
MVP Regular Contributor

Ah okay. Your question is in the AGOL space instead of Portal. AGOL & Poral will always have different capabilities as AGOL gets the updates first, so keep that in mind when writing future questions. I can move it to the correct board. 

So yes, your issue is that you have an older version of Portal. Related feature behavior is not available until 11.2. You'll have to upgrade or use AGOL. What you are experiencing is expected behavior. 

doronwen
Frequent Contributor

@Laura oh man! I'm really sorry! the whole AGOL-Portal always confuses me. 
At least now I know why I'm not seeing what everyone else is.
I  think my organization is planning to upgrade to 11.3 in the next few months, so I'll get back to my project after the upgrade. 

0 Kudos