I am working on a map of various building locations (this is a point feature class) and parcels (polygon feature class). Each parcel has anywhere from 0 to many buildings on it (including parts of buildings) and conversely, each building is on one or more parcels (some buildings straddle parcels).
I am creating the map in ArcGIS Pro and intend to publish it to ArcGIS Online. I am working with a 'basic' license of Pro, so I don't think I can create relationship classes.
I would like to be able to relate the building and parcel information so that someone can view a parcel's information and see what buildings are related to it, and conversely view a building's information to see the related parcels.
What is the best way to accomplish this?
Hi Persefoni Kapotas,
If you publish both layers within the same hosted feature service, you can add a relationship class from the Rest/admin endpoint. This GeoNet post goes into it: https://community.esri.com/thread/226876-adding-related-table-to-arcgis-online-feature-layer
Hope this helps,
-Peter
I add my question to this thread, is there an easy way (without using coding) to display the many-to-many relationships in pop-ups in ArcGIS Online?
Thanks
I found out a solution, for the ones who were stucked liked I was.
In ArcGIS Pro I loaded the two features and the many-to-many relationship table onto a map.
Then I share the entire map, automatically it takes the two features and the relationship table.
Then in Map Viewer in the pop-up configuration the Related record option appears.